JackDanIce
Well-known Member
- Joined
- Feb 3, 2010
- Messages
- 9,922
- Office Version
- 365
- Platform
- Windows
Hi,
I have some data which I need to aggregate, Excel's consolidation feature works fine for numbers but not strings for understandable reasons.
Column B contains look up values in alphabetical order, data range is $A$4:$CI [last row]
My code currently applies the consolidation feature and outputs the condensed data 2 rows after the [last row] e.g. $A$12:$CI$15 if [last row] previously was 10
I then use VLOOKUP in empty columns (specifically where string values are expected) to fill in these values, but because there are multiple matching IDs in A4:CI10, it returns error.
Aside from a brute, evaluate each column and copy value where condition matches, can anyone suggest anything more elegant?
Effectively ask is:
I want to match on an ID in a list of sorted IDs (A-Z) which includes duplicates but only return a value if it's non-numerical and not empty.
Code or formula suggestions are both welcome.
TIA!
Jack
I have some data which I need to aggregate, Excel's consolidation feature works fine for numbers but not strings for understandable reasons.
Column B contains look up values in alphabetical order, data range is $A$4:$CI [last row]
My code currently applies the consolidation feature and outputs the condensed data 2 rows after the [last row] e.g. $A$12:$CI$15 if [last row] previously was 10
I then use VLOOKUP in empty columns (specifically where string values are expected) to fill in these values, but because there are multiple matching IDs in A4:CI10, it returns error.
Aside from a brute, evaluate each column and copy value where condition matches, can anyone suggest anything more elegant?
Effectively ask is:
I want to match on an ID in a list of sorted IDs (A-Z) which includes duplicates but only return a value if it's non-numerical and not empty.
Code or formula suggestions are both welcome.
TIA!
Jack