#1
|
|||
|
|||
How to label a row within a grouping
Hi all I am working on a spreadsheet with 25k+ lines and need to identify whether a grouping has a certain "type" within the group (see attached). What I would like to do is go through the list and in column 'C' designate whether or not the type ' APP G' is in the group. If it isall the other lines within the group should have the letter 'Y' and if it doesnt the letter 'N'. Any assistance would be greatly appreciated. Thanks |
#2
|
|||
|
|||
Give this a try based on the sample you provided...
=IF(A1=A2,C1,IF(ISNUMBER(SEARCH("APP G",B2)),"Y","N")) |
#3
|
|||
|
|||
Thanks JeffreyBrown..that worked perfectly!!!
|
#4
|
|||
|
|||
Hi JeffreyBrown...Looks like I spoke too soon. The formula did work for the example that I attached but as it went further down the spreadsheet it stopped working. It is pulling the 'Y' or "NO' from the previous set and sometimes its incorrect. Any suggestions?
|
#5
|
|||
|
|||
Are you saying it did not work with the example you posted or with different data?
If you're speaking of different data, I need to see the different data. |
#6
|
|||
|
|||
Into C2 enter the formula
Code:
=IF(COUNTIFS($A$2:$A$39,$A2,$B$2:$B$39,"APP G")>0,"Y","N") Code:
=IF(COUNTIFS($A$2:$A2,$A2,$B$2:$B$2,"APP G")>0,"Y","N") |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Grouping by ID | DarkDot | Mail Merge | 1 | 02-02-2018 01:16 PM |
How to start a label mail merge at a specific label? | DHKaplan | Mail Merge | 2 | 04-17-2014 07:33 PM |
Pivot table grouping problem 2 tables need different grouping | differentdrummer | Excel | 3 | 12-10-2013 01:19 AM |
Userform label bordercolor not controllable if click label | skarden | Word VBA | 1 | 09-29-2013 07:27 PM |
Grouping | alamorchgirl | PowerPoint | 0 | 07-08-2011 02:14 AM |