IF THEN or VLOOKUP??

archi_bum

New Member
Joined
Feb 9, 2014
Messages
2
http://www.flickr.com/photos/79573271@N03/12418973234/
http://www.flickr.com/photos/79573271@N03/12418973114/


Hello.

I am in need of writing a seemingly easy formula. I've attached two screen shots that should make sense of my request. Both spreadsheets are within the same Excel 2013 file but are on different tabs.

I would like for the "EXTENDED PRICE" cell to be automatically populated based upon the value in the "SQUARE FOOTAGE" cell. The "SQUARE FOOTAGE" cell is an absolute value. However, the "EXTENDED PRICE" cell should reflect a dollar amount determined by where the absolute "SQUARE FOOTAGE" value falls within a square footage range (on another tab).

If the actual "SQUARE FOOTAGE" is 645 SF (=<700 SF) then the "EXTENDED PRICE" is $15.00. Whereas if the actual "SQUARE FOOTAGE" is 2582 SF (2500-2800) then the "EXTENDED PRICE" is 11.50.


Thank you in advance for your assistance!

:)

SORRY I'M HAVING TROUBLE ADDING SCREEN SHOTS - HERE ARE LINKS TO THEM ON FLICKR.
 
Last edited:

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.
Hi, Given in A1:
<style>table { }td { padding-top: 1px; padding-right: 1px; padding-left: 1px; color: black; font-size: 12pt; font-weight: 400; font-style: normal; text-decoration: none; font-family: Calibri,sans-serif; vertical-align: bottom; border: medium none; white-space: nowrap; }</style>
SF
$/SFactualEx_price
01570015
70114.5
100114
130113.5
160113
190112.5
220112
250111.5
280111
310110.5
340110

<tbody>
</tbody>
Formula in E1 is =INDEX($B$2:$B$12,MATCH(D2,$A$2:$A$12,1))
Would that work for you?
 
Upvote 0
Hello!

The only thing I can think to use is a SUMIFS, and for that a few helper columns will make it easier. My Sheet1 has the following setup, starting in cell A1:

SF $/SF
<700 $15.00 0 700
701-1000 $14.50 701 1000
1001-1300 $14.00 1001 1300
1301-1600 $13.50 1301 1600
1601-1900 $13.00 1601 1900
1901-2200 $12.50 1901 2200
2201-2500 $12.00 2201 2500
2501-2800 $11.50 2501 2800
2801-3100 $11.00 2801 3100
3101-3400 $10.50 3101 3400
3401-3700 $10.00 3401 3700

Columns C and D are my helpers, containing the low and high ends of each of your ranges. On my second sheet, the EXTENDED PRICE formula is in B2, and the SQUARE FOOTAGE value is in A2. Here's my formula:

=SUMIFS(Sheet1!$B$2:$B$12,Sheet1!$C$2:$C$12,"<="&$A2,Sheet1!$D$2:$D$12,">="&$A2)

Hope this helps!
Cece
 
Upvote 0
SOLVED!!

Thank you both for your insight, and special thank you to ChiChiR for providing the perfect solution to my particular issue.:):):)
 
Upvote 0

Forum statistics

Threads
1,215,473
Messages
6,125,012
Members
449,204
Latest member
tungnmqn90

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