Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Home Inspector
 
Posts: n/a
Default I would like to set a value for a range


To all,
I am setting up an estimate sheet using excel and I would like to be
able to have the price automatically enter the box if I enter the
square footage of the property which is how pricing is based.

Example:
Sq. Footage Price
0-1500 225.00
1501 - 2000 250.00
2001 - 2500 275.00

I have one cell where I want to enter the square footage and I want the
price to automatically fill in where it will be added with other things
which I can already add up.

Any Help would be appreciated,

Home Inspector


--
Home Inspector
------------------------------------------------------------------------
Home Inspector's Profile: http://www.excelforum.com/member.php...o&userid=29907
View this thread: http://www.excelforum.com/showthread...hreadid=496104

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Peo Sjoblom
 
Posts: n/a
Default I would like to set a value for a range

You could setup a table, start with 0 and in the adjacent cell to the right
put 225

0 225
1501 250
2001 275

then use

=IF(A1="","",VLOOKUP(A1,F2:G4,2))

Where A1 is the cell where you put the Footage
and the table is in F2:G4 with 0 in F2 and 225 in G2, 1501 in F3, 250 in G3
and so on
or you can hard code it like

=IF(A1="","",VLOOKUP(A1,{0,225;1501,250;2001,275}, 2))

--
Regards,

Peo Sjoblom

(No private emails please)


"Home Inspector"
<Home.Inspector.20onem_1135660201.2052@excelforu m-nospam.com wrote in
message news:Home.Inspector.20onem_1135660201.2052@excelfo rum-nospam.com...

To all,
I am setting up an estimate sheet using excel and I would like to be
able to have the price automatically enter the box if I enter the
square footage of the property which is how pricing is based.

Example:
Sq. Footage Price
0-1500 225.00
1501 - 2000 250.00
2001 - 2500 275.00

I have one cell where I want to enter the square footage and I want the
price to automatically fill in where it will be added with other things
which I can already add up.

Any Help would be appreciated,

Home Inspector


--
Home Inspector
------------------------------------------------------------------------
Home Inspector's Profile:
http://www.excelforum.com/member.php...o&userid=29907
View this thread: http://www.excelforum.com/showthread...hreadid=496104


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Home Inspector
 
Posts: n/a
Default I would like to set a value for a range


Thank You so much Peo,

What you gave me worked out great. The help was much appreciated.
Again Thanks,
Home Inspector


--
Home Inspector
------------------------------------------------------------------------
Home Inspector's Profile: http://www.excelforum.com/member.php...o&userid=29907
View this thread: http://www.excelforum.com/showthread...hreadid=496104

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Peo Sjoblom
 
Posts: n/a
Default I would like to set a value for a range

My pleasure, thanks for the feedback

--
Regards,

Peo Sjoblom

(No private emails please)


"Home Inspector"
<Home.Inspector.20q9qm_1135735804.0838@excelforu m-nospam.com wrote in
message news:Home.Inspector.20q9qm_1135735804.0838@excelfo rum-nospam.com...

Thank You so much Peo,

What you gave me worked out great. The help was much appreciated.
Again Thanks,
Home Inspector


--
Home Inspector
------------------------------------------------------------------------
Home Inspector's Profile:
http://www.excelforum.com/member.php...o&userid=29907
View this thread: http://www.excelforum.com/showthread...hreadid=496104


Reply
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


Similar Threads
Thread Thread Starter Forum Replies Last Post
checking that cells have a value before the workbook will close kcdonaldson Excel Worksheet Functions 8 December 5th 05 04:57 PM
Help with using range names in sum function soteman2005 Excel Worksheet Functions 2 November 28th 05 04:43 PM
How to Select a relative range with Using "Find" and Offset() Dennis Excel Discussion (Misc queries) 7 July 27th 05 03:57 PM
Can a formula check for a certain value in a range? Lee IT Excel Discussion (Misc queries) 3 April 8th 05 07:36 AM
can a formula check for a certain value in a range? Lee IT Excel Discussion (Misc queries) 1 April 7th 05 04:31 PM


All times are GMT +1. The time now is 09:08 PM.

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

About Us

"It's about Microsoft Excel"