How to get the last value out of multiple values for a cell from another workbook?

Ammar Qadir

New Member
Joined
Apr 17, 2013
Messages
23
I have a main sheet (book1) which is master sheet of all products and second sheet (book2) has multiple values for a particular product. Product name is common and unique. I want to get the last entry (value ) of a product from 2nd workbook.
 

Attachments

  • Book1.png
    Book1.png
    29.7 KB · Views: 7
  • Book2.png
    Book2.png
    48.5 KB · Views: 7

Excel Facts

Create a chart in one keystroke
Select the data and press Alt+F1 to insert a default chart. You can change the default chart to any chart type
Try this and adjust to your actual range:
Book3
ABCDE
1OpsStatusOpsStatus
2ABCFABCA
3DEFEABCB
4XYZHABCC
5DEFD
6DEFE
7ABCF
8XYZG
9XYZH
Sheet1
Cell Formulas
RangeFormula
B2:B4B2=LOOKUP(2,1/($D$2:$D$9=A2),$E$2:$E$9)
 
Upvote 0
What version of Excel are you using?

I suggest that you update your Account details (or click your user name at the top right of the forum) so helpers always know what Excel version(s) & platform(s) you are using as the best solution often varies by version. (Don’t forget to scroll down & ‘Save’)
 
Upvote 0
Try this and adjust to your actual range:
Book3
ABCDE
1OpsStatusOpsStatus
2ABCFABCA
3DEFEABCB
4XYZHABCC
5DEFD
6DEFE
7ABCF
8XYZG
9XYZH
Sheet1
Cell Formulas
RangeFormula
B2:B4B2=LOOKUP(2,1/($D$2:$D$9=A2),$E$2:$E$9)
Thank you for your reply. Yes it works with same sheet. I want to do the same operation but from two different workbooks. I could not get it working for two different workbooks. really appreciate your help.
 
Upvote 0
I understand it should work even if source data and summary sheet are in another workbooks. If they are open at the same time, the values will update automatically; If the source file is closed, you may update the summary sheet by update when opening it or Data - Edit Links - Update Values.
Can you specify the issue? And also update account details would be helpful.
 
Upvote 0

Forum statistics

Threads
1,215,219
Messages
6,123,688
Members
449,117
Latest member
Aaagu

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