Excel Formula Quickie
Discussion
Hopefully, if Excel can do this.
My spreadsheet records the race history of race drivers. On a series of sheets, one for each year, I have a list of drivers for that year, and a table marking which events they appeared at. At the end I have a column that concatenates their name details (e.g. HuntIsaacIC). The original driver details are added manually on these pages.
I also have a summary page, listing every driver ever. Same concatenated name column, same manual entry (for several reasons I won't bore you with, this is the best way to do it).
The problem I have is cross checking that all the drivers are entered on the correct sheets. On the Drivers page, I have a sum check, that alerts me if someone is missing or incorrectly typed in a particular year, but it doesn't give me a clue as to which driver it might be.
What I want to do is put a flag beside the column of concatenated names on each of the Year pages. This shoud work along the lines of:
IF: concatenated name string in the cell immediately to the left appears anywhere in the column of concatenated names on the Driver page...
TRUE: nothing
FALSE: "X"
A bit of conditional formatting then makes the X appear in a red square - a nice big alert flag
What I can't find is the correct "match"-type formula, to look at all the concatenated names on the DRIVER page, and so create the correct IF rule. Any ideas?
My spreadsheet records the race history of race drivers. On a series of sheets, one for each year, I have a list of drivers for that year, and a table marking which events they appeared at. At the end I have a column that concatenates their name details (e.g. HuntIsaacIC). The original driver details are added manually on these pages.
I also have a summary page, listing every driver ever. Same concatenated name column, same manual entry (for several reasons I won't bore you with, this is the best way to do it).
The problem I have is cross checking that all the drivers are entered on the correct sheets. On the Drivers page, I have a sum check, that alerts me if someone is missing or incorrectly typed in a particular year, but it doesn't give me a clue as to which driver it might be.
What I want to do is put a flag beside the column of concatenated names on each of the Year pages. This shoud work along the lines of:
IF: concatenated name string in the cell immediately to the left appears anywhere in the column of concatenated names on the Driver page...
TRUE: nothing
FALSE: "X"
A bit of conditional formatting then makes the X appear in a red square - a nice big alert flag
What I can't find is the correct "match"-type formula, to look at all the concatenated names on the DRIVER page, and so create the correct IF rule. Any ideas?
limpsfield said:
Ultuous said:
=if(D2="ABC",sum(E2:G2),"")
Perfect Ultuous - thank you very much!If you wanted to do it this way you need to use a function that tests the value, eg = IF( ISTEXT(A1)=TRUE, SUM(B1:D1), "")
Edit - Just realised I misread your example. The above will test the cell for you and work for any text string.
Gassing Station | Computers, Gadgets & Stuff | Top of Page | What's New | My Stuff


