Multiple array in Vlookup

moxeve

Board Regular
Joined
Jul 8, 2013
Messages
61
hello guys,
i have two different workbook and i want to find how much X person paid me,

person X got two service from my company one is 150$ and second 300$, this two number is in A and B worksheets and i want find useing vlookup or other function, how much did person x paid in service A


=Vlookup(person X,array1 & array2,clmn nm2, )

and how can i add this to array in one formula
 

Excel Facts

What did Pito Salas invent?
Pito Salas, working for Lotus, popularized what would become to be pivot tables. It was released as Lotus Improv in 1989.
hi moxeve,

Vlookup or similar lookups would only return 1 value

You could try to use SUMIF to sum payments from one sheet and another one from the other sheet, like

=SUMIF(sheetA!namelist,personX,sheetA!pricelist)+SUMIF(sheetB!namelist,personX,sheetB!pricelist)
 
Upvote 0
thanks for reply istiasztalos ,

this formula can be useful for me in this question, but if i have text and not number and want to search witch services made person X for me?
 
Upvote 0
Hi,

Limitation is limilar, VLOOKUP or similar formulas can only return 1 result, that would work as long as a person has only one record on each sheet.

If they possibly used multiple services than I would recommend a pivot table
 
Upvote 0

Forum statistics

Threads
1,223,713
Messages
6,174,043
Members
452,542
Latest member
Bricklin

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