Vlookups with different criteria

KuraiChikara

Board Regular
Joined
Nov 16, 2016
Messages
111
Office Version
  1. 2013
Platform
  1. Windows
Hello,
Say you have a bill called TRASH in Cell A2 and a total deduction of -$35 in F2
Then you have that bill again "TRASH" in Cell A115 with a different amount -$130 in F115.

The company is the same so that does not change.
However, when I conduct a VLOOKUP
=VLOOKUP(A2,'Excel Export'!$1:$1048576,6,FALSE)

It will find the first TRASH in cell A2 of -$35 but the second TRASH in cell A115 of -$130 doesnt even get reflected. The first amount of -$35 will be seen.

How can I show the different amounts with a Vlookup or am I out of luck and would have to change the search of the look up value?
 

Excel Facts

Excel Joke
Why can't spreadsheets drive cars? They crash too often!
Glad you figured it out. I was going to say from your post#8 it sound like you wanted SUMIF function.
 
Upvote 0

Forum statistics

Threads
1,223,912
Messages
6,175,340
Members
452,638
Latest member
Oluwabukunmi

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