Excel inventory sheet

jstewart1957

New Member
Joined
Jun 24, 2020
Messages
3
Office Version
  1. 365
Platform
  1. MacOS
We have a template to track inventory with products we buy and they have associated costs. I've created a table on a separate tab in the file with a list of products in one column and the associated cost in the adjacent column. On the main inventory sheet, I would like to be able to enter the product name and have the cost column populated with the cost from the table on the separate tab. The list of products is rather lengthy, so using IF statements would be awkward. What function/formula would work?

Thanks in advance,

Jimmy
 

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.
Thank you for the response. I've looked at both, but don't seem to be able to get them to populate the inventory sheet they way I want them to.
 
Upvote 0
In that case can you post some sample data & expected results using the XL2BB add-in?
 
Upvote 0
Here is part of the inventory sheet that shows product which is populated from another tab as part of data validation. I have typed in the "unit value" costs to show what I'm expecting.
Inventory list-JS.xlsx
DEF
3ProductDescriptionUnit Value
4Microchip (24 hour)product$12.00
5ID bands (red)supplies$46.46
6Esbilac PuppyFormula
7Da2pp Vaccine$3.35
8Da2pp+lv4Vaccine$4.98
9Da2pp Vaccine$3.35
Inventory List
Cells with Conditional Formatting
CellConditionCell FormatStop If True
B4:I159Expression=$I4="Yes"textNO
B4:I159Expression=#REF!=1textNO
Cells with Data Validation
CellAllowCriteria
E3Any value
F3Any value
D3Any value
D4:D159List=Data!$A$2:$A$28


Here is my table on a separate tab that shows the product names and the costs associated with the product. I would like to be able, on the main page, to have the user select the product and have the unit cost automatically entered in the unit value column.
Inventory list-JS.xlsx
AB
1ProductUnit Cost
21 ml syringes (box)$24.00
31 ml syringes no needles
41ml Tuberculin syringes
524ml KMR Liquid (case)$60.00
63 ml Syringes (box)
7Da2pp$3.35
8Da2pp+lv4$4.98
9Doxy tabs 100mg bottle
10doxycycline 100mg (bottle)
11Esbilac Puppy
12Fecatector bag (50)
13Felv/Fiv Combo Witness Test (box)
14FRVCP$3.54
15ID bands (red)$46.46
16Lg Exam Gloves (box)
17Med Exam Gloves (Box)
18Microchip (24 hour)$12.00
19Praziquantel susp. (Bottle)
20Pyrantel 4oz
21Rabies $1.76
22Suppli-Cal bottle
23supplical
24Witness HW test (Box)$12.00
Data


Thank you
 

Attachments

  • 1593027387165.png
    1593027387165.png
    20.1 KB · Views: 2
Upvote 0
Ok, thanks for that.
2 options in-case you don't yet have Xlookup.

+Fluff New.xlsm
DEFG
3ProductDescriptionUnit Value
4Microchip (24 hour)product1212
5ID bands (red)supplies46.4646.46
6Esbilac PuppyFormula 00
7Da2ppVaccine3.353.35
8Da2pp+lv4Vaccine4.984.98
9Da2ppVaccine3.353.35
Input
Cell Formulas
RangeFormula
F4:F9F4=XLOOKUP(D4,Data!$A$2:$A$24,Data!$B$2:$B$24,"",0)
G4:G9G4=VLOOKUP(D4,Data!A2:B24,2,0)

PS on your Inventory sheet the Da2pp had a space after it which isn't on the Data sheet
 
Upvote 0

Forum statistics

Threads
1,214,925
Messages
6,122,303
Members
449,078
Latest member
nonnakkong

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