I have the following Excel spreadsheet:
A B C D E
1 Products Brands Revenue Search Criterias
2 Product A Brand1 500 Criteria 1: Product C
3 Product B Brand3 800 Criteria 2: Brand 3
4 Product B Brand2 900 Revenue: 300
5 Product C Brand1 200
6 Product C Brand3 300
7 Product C Brand4 750
8 Product D Brand1 450
9 Product C Brand4 150
10
As you can see in Column A I have list of products and in Column B the corresponding brands and in Column C the revenue.
Now I want to use VLOOKUP
to search for the revenue based on a product (Cell E2
) and a brand (Cell E3
). Therefore, I tried to go with this formula:
E4 =VLOOKUP(E2&"-"&E3,A1:C9,3,FALSE)
However, this formula gives me #NV
.
What do I need to change in my formula to make it work?
Please note:
I know I could solve this issue by adding a helper column
in which I combine the datas from Column A and Column B and then let the VLOOKUP
run over this helper column
. However, I am looking for a solution without this helper column
.