Lookup and Add

tykc17

New Member
Joined
Jul 5, 2017
Messages
7
Office Version
  1. 365
Platform
  1. Windows
I have a list of codes on my Information tab and a corresponding Type. On my Supplies tab I want total the cost by looking up the code type from Information tab and then calculate the cost of those codes in the Supplies tab. I'm not sure if this is a feasible way of doing this or if I just need to has the US or MNT in the Supplies tab to make it easier. The point of the Information tab is to list information that doesn't need to be adjusted by the user and they just need to select it from the Supplies tab

I can't use the XL2BB on my work computer so I'm doing my best with what I got.

Information Tab
CodeType
GFE1US
GFE2MNT
GFE3MNT
GFE4US
GFE5US

Supplies Tab
US = 450MNT = 200

CodeCostQTYTotal
GFE1 (US)505250
GFE1 (US)255125
GFE4 (US)15575
GFE2 (MNT)10550
GFE3 (MNT)305150
 

Attachments

  • MrExcel1.png
    MrExcel1.png
    3.6 KB · Views: 5
  • MrExcel2.png
    MrExcel2.png
    14.6 KB · Views: 5

Excel Facts

When they said...
When they said you are going to "Excel at life", they meant you "will be doing Excel your whole life".
tykc let's get the ball rolling. Here is my solution to your problem. Now this is just one solution. There may be some A+ students that weigh in and give us an even better solution. All this sheet is a formula to start. Once you say it works than we can move on from there. If you have any questions, comments or suggestions let us know.

24-09-09 lookup add work 1.xlsx
ABCDEFGH
1US =450MNT =200GFE1 (US)
2GFE4 (US)
3GFE5 (US)
4GFE2 (MNT)
5GFE3 (MNT)
Supplies Tab
Cell Formulas
RangeFormula
B1B1=SUM(SUMIFS('Information Tab'!D2:D6,'Information Tab'!A2:A6,'Supplies Tab'!H1:H3))
E1E1=SUM(SUMIFS('Information Tab'!D2:D6,'Information Tab'!A2:A6,'Supplies Tab'!H4:H5))


24-09-09 lookup add work 1.xlsx
ABCD
1CodeCostQTYTotal
2GFE1 (US)505250
3GFE1 (US)255125
4GFE4 (US)15575
5GFE2 (MNT)10550
6GFE3 (MNT)305150
Information Tab
 
Upvote 0

Forum statistics

Threads
1,221,519
Messages
6,160,282
Members
451,635
Latest member
nithchun

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