Hi Everyone,
I have been trying to use some suggestions in similar posts today for coulpe hours now and I just cannot get it to work.
I have two files. I would like to include the price from the "test price" file in the "test complete" file. The price is depending on customer number and the part number, so two matches are requried.
I believe it does not like to work with those two separate files or I am selecting the array not correctly.
Could you please help me to create the formula in the "price" column (D) in "test complete" file from the "test price" (column C) file?
Many thanks!
enter this with control + shift + enter.
=INDEX('[Test price.xlsx]Prices'!C$2:C$7,MATCH(A2&B2,'[Test price.xlsx]Prices'!A$2:A$7&'[Test price.xlsx]Prices'!B$2:B$7,0))
Please acknowledge the response you receive, good or bad. If your problem is solved, please say so clearly, and mark your thread as Solved: Click the Edit button on your first post in the thread, Click Go Advanced, select [SOLVED] from the Prefix dropdown, then click Save Changes. If more than two days have elapsed, the Edit button will not appear -- ask a moderator to mark it.
How about?
=SUMPRODUCT(--('[Test price.xlsx]Prices'!$A$2:$A$7=A2),--('[Test price.xlsx]Prices'!$B$2:$B$7=B2),'[Test price.xlsx]Prices'!$C$2:$C$7)
this pulls the corresponding price, you can then further multiply by Quantity.
Microsoft MVP - Excel
Where there is a will there are many ways. Pick One!
Please read the Forum Rules
If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below
Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.
Preferred Charities: Lupus Canada and Sick Kids Foundation.
Feel Free to Donate if you want to, for the assistance you received today.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks