LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
bretkennedy
 
Posts: n/a
Default trying to lookup a value and return if true or fals


Just wondering, i am trying to do a stock sheet for my bar to purchase
product.

I have a number of colums. the 2 most important colums are

1. Cases required (ie: order stock by the case)
2. Units required (stock by the unit)

what i would like to do is, in my total colum, i would like to have a
formula that checks that particular stocks row for either case or item.
If there is a value in that row, take the value in that row, multiply it
by a price value, which can either be by the case or by the unit, and
then put the value of the item to purchase in the total column.

in my head i understand what i am saying, i hope this makes sense.

if cell x 0 ( or maybe it should be a true or false value) then
multiply x by y.

that is the basic formula. But i want the formul to check both cells,
unit and case. There will never be an instance where i am ordering a
single unit and a case so they won't clash like that.

Is there a way to right the formla so that it checks the unit and case
columns and if there is a value multiply it by its respective price to
return a value?

cheers

bret


--
bretkennedy
------------------------------------------------------------------------
bretkennedy's Profile: http://www.excelforum.com/member.php...o&userid=33136
View this thread: http://www.excelforum.com/showthread...hreadid=529447

 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 12:41 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"