SonicBoomGolf
Active Member
- Joined
- Aug 7, 2004
- Messages
- 325
I am trying to lookup a value and am having some trouble. Below is a small sample dataset to illustrate my goal.
Column A Column B
Sold To Revenue
1000080 $-
1000080 $-
1000080 $1,000,000.00
1000170 $145.00
1000196 $144.00
1004570 $187.00
1004572 $198.00
I have a unique list of numbers that have multiple rows of cost data but only one row of revenue data, much like number 1000080. My goal is to find the cell in coulmn B that has a value above 0. A VLOOKUP would work, but it returns only the first match for a given number. Instead, I need the lookup to return the first non-zero match it finds.
So using the model above, I would want $1,000,000 returned for 1000080. Any ideas?
Column A Column B
Sold To Revenue
1000080 $-
1000080 $-
1000080 $1,000,000.00
1000170 $145.00
1000196 $144.00
1004570 $187.00
1004572 $198.00
I have a unique list of numbers that have multiple rows of cost data but only one row of revenue data, much like number 1000080. My goal is to find the cell in coulmn B that has a value above 0. A VLOOKUP would work, but it returns only the first match for a given number. Instead, I need the lookup to return the first non-zero match it finds.
So using the model above, I would want $1,000,000 returned for 1000080. Any ideas?