Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Hi all TIA, I must be having a lapse this morning...
I have an array of headings with either a "P" (primary) or "B" (Backup) that fall under eight headings. Each row usually has a P and B in two cells. What I'd like to report in another cell is when P is in a column I would like to report that column heading. Same formula for the cell that will be reporting B. I thought about an IF w/ nested IFs for each heading but that seems too messy. Cheers, Kevin M. |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
=INDEX(A1:H1,MATCH("P",A2:H2,0))
-- HTH Bob Phillips (replace somewhere in email address with gmail if mailing direct) "Kevin M" wrote in message ... Hi all TIA, I must be having a lapse this morning... I have an array of headings with either a "P" (primary) or "B" (Backup) that fall under eight headings. Each row usually has a P and B in two cells. What I'd like to report in another cell is when P is in a column I would like to report that column heading. Same formula for the cell that will be reporting B. I thought about an IF w/ nested IFs for each heading but that seems too messy. Cheers, Kevin M. |
#3
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Beauty, thanks Bob.
Kevin M. "Bob Phillips" wrote: =INDEX(A1:H1,MATCH("P",A2:H2,0)) -- HTH Bob Phillips (replace somewhere in email address with gmail if mailing direct) "Kevin M" wrote in message ... Hi all TIA, I must be having a lapse this morning... I have an array of headings with either a "P" (primary) or "B" (Backup) that fall under eight headings. Each row usually has a P and B in two cells. What I'd like to report in another cell is when P is in a column I would like to report that column heading. Same formula for the cell that will be reporting B. I thought about an IF w/ nested IFs for each heading but that seems too messy. Cheers, Kevin M. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
[Click the star to watch this topic] finding 1st populated cell on a vector with va | Excel Discussion (Misc queries) | |||
First row in Selection range (first index of a cell) EXCEL VBA | Excel Worksheet Functions | |||
Instead of a negative number, I'd like to show zero... | Excel Worksheet Functions | |||
Can the column index in a cell address be made variable? | Excel Discussion (Misc queries) | |||
Possible Lookup Table | Excel Worksheet Functions |