VlookUp

pjandshelly

Board Regular
Joined
Jan 25, 2017
Messages
61
I have a table with multiple columns. I am wanting to search one of those columns to find if there is a value > 0. If so, I want it to return back to a main table dashboard that value in one column and in the second column, it will return the number in the column it was searching. It would also rank the values with ties.

For example:

A B C
Test No 1
Stop Yes 0
Now No 5

Dashboard returns
Value Total
Now 5
Test 1
 

Excel Facts

Format cells as currency
Select range and press Ctrl+Shift+4 to format cells as currency. (Shift 4 is the $ sign).
How about


Book1
ABC
2test11
3test22
4test30
5test44
6test50
7test66
8test77
9test80
10test99
11test100
work


and


Book1
AB
1ValueTotal
2test11
3test22
4test44
5test66
6test77
7test99
Lookup
Cell Formulas
RangeFormula
A2=IFERROR(INDEX(work!$A$2:$A$11,AGGREGATE(15,6,(ROW(work!$A$2:$A$11)-ROW(work!$A$2)+1)/(work!$C$2:$C$11>0),ROWS($A$2:$A2))),"")
B2=IFERROR(INDEX(work!$C$2:$C$11,MATCH(A2,work!$A$2:$A$11,0)),"")
 
Upvote 0
So for the first code, I get the expected results. The second code, I am getting 0s.

My code is =IFERROR(INDEX($AM$52:$AM$164,MATCH(I52,$I$52:$I$164,0)),"").

My AM Column is your C Column and My I column is your A Column.
 
Upvote 0
You don't have the sheet name in that formula, are you entering the formula on the same sheet as the data?
 
Upvote 0
Everything is on the same page. The underlying data is at the bottom of the page with the dashboard showing at the top of the page.
 
Upvote 0
In that case where did you put the first formula, that I had in A2?
 
Upvote 0
I had it where I wanted my values from column A to go in my dashboard. Both formulas are at the top of the page.
 
Upvote 0

Forum statistics

Threads
1,224,814
Messages
6,181,127
Members
453,021
Latest member
Justyna P

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top