Hi all,
I know how to do a 2 value IF statement, but not 3 values. Here is the end result I am after for column U, carrying cost:
I think Excel will have a way of doing this but am not sure. Any advice is appreciated!• Carrying Cost ($U). Based on product sales rank and unit dimensions:
○ Sales rank ($K) of less than 5,000 = $0.15*(($L*$M$*$N)/1728)
○ Sales ranks 5,001 - 25,000 = $0.35*(($L*$M$*$N)/1728)
○ Sales ranks 25,001 or greater = $0.50*(($L*$M$*$N)/1728)
Last edited by Delta223; 01-13-2012 at 12:48 PM.
Try this formula:
=CHOOSE(MATCH(K1,{0,5001,25001},1),0.15,0.35,0.5)*((L1*M1*N1)/1728)
Andrew's CHOOSE() formula will work just fine.
For general info should you ever have bigger tables to work from it's usually then advisable to build a lookup table for the bands and values and read the 0.15, 0.35, 0.5 etc. values with a VLOOKUP()
Richard Buttrey
If this was useful then please rate it appropriately.
Click the small star iconat the bottom left of my post.
Hi, it does not seem to work. I made sure the formula was calling the correct cells, and I also expanded the cell formatting to show 15 digits so nothing would be hidden.
Still, it showed a value of 0
Do the cells in L, M and N all have numeric values in? If any of them are blank or 0 then the overall result will be 0.
No, they were blank, silly me. Thanks for the help!
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks