Don't Know How to Write If Statement in Formula

c.clavin

Board Regular
Joined
Mar 22, 2011
Messages
80
Office Version
  1. 365
Platform
  1. Windows
  2. MacOS
Hey all, stuck on this one and its infuriating!!

I have a range (print sheet a17:a31) that can have hundreds of possible part numbers in it. On another worksheet I have all possible items (inventory sheet a2:a672) I want to have excel give me the quantity entered on the original sheet (print sheet c17:c31) spit out on column G in my master sheet.
To give you an idea of what I'd like to express, itd be like: if inventory sheet's a2 equals anything from print sheet's a17:a31, spit out the corresponding print sheet column C into the inventory sheet's column G.

I know it's kind of confusing. It is to me too!! Thanks for the help!
 

Excel Facts

Move date out one month or year
Use =EDATE(A2,1) for one month later. Use EDATE(A2,12) for one year later.

c.clavin

Board Regular
Joined
Mar 22, 2011
Messages
80
Office Version
  1. 365
Platform
  1. Windows
  2. MacOS
Thanks for the response. I think I have it (somewhat) working with cell a443 for now instead of a2. How do I make the column a's corresponding column c spit out into my other worksheet's column g? That's all I'm held up on now.

=IF(VLOOKUP(A443,POITEMS,1,FALSE),?????)

FYI POITEMS = range from c17:c31
 

c.clavin

Board Regular
Joined
Mar 22, 2011
Messages
80
Office Version
  1. 365
Platform
  1. Windows
  2. MacOS
Wow, worked like a charm! If there are more than 1 entry for a specific item number, is there anything that can be done to combine the quantities?
 
Master Excel Bundle

Excel contains over 450 functions, with more added every year. That’s a huge number, so where should you start? Right here with this bundle.

Forum statistics

Threads
1,164,300
Messages
5,836,489
Members
430,435
Latest member
Benforest1

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
Top