Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
tysonstone
 
Posts: n/a
Default Help creating a cost range

I need help creating a cost range for the following scenario.
If the value of cell A1 falls between 0-300 I need the following cell A2 to
say $0-$300 or if A1 was 389 I would need A2 to say $300-$600 and so on. In
need it broke down in $300 increments to $6000. Thank You

  #2   Report Post  
Anne Troy
 
Posts: n/a
Default

Try a VLOOKUP. See:
http://www.officearticles.com/excel/...soft_excel.htm
************
Anne Troy
www.OfficeArticles.com

"tysonstone" wrote in message
...
I need help creating a cost range for the following scenario.
If the value of cell A1 falls between 0-300 I need the following cell A2
to
say $0-$300 or if A1 was 389 I would need A2 to say $300-$600 and so on.
In
need it broke down in $300 increments to $6000. Thank You



  #3   Report Post  
Sloth
 
Posts: n/a
Default

="$"&A1-MOD(A1,300)&"-$"&300+A1-MOD(A1,300)

This formula should work for you. This puts numbers in the upper portion of
their range (ie. 0 in A1 results in $0-$300 in A2, and 3600 in A1 results in
$3600-$3900 in A2.


"tysonstone" wrote:

I need help creating a cost range for the following scenario.
If the value of cell A1 falls between 0-300 I need the following cell A2 to
say $0-$300 or if A1 was 389 I would need A2 to say $300-$600 and so on. In
need it broke down in $300 increments to $6000. Thank You

  #4   Report Post  
Roger Govier
 
Posts: n/a
Default

Use a lookup table.
In cell E1 enter 0, in E2 enter 301, in E3 enter =E2+300 copy E3 down
through E4:E21

In cell F1 enter ="$"&E1&" to $"&E2-1
Copy down through cells F2:F20
In cell F21 enter "Over $6000"

In cell A2 enter
=VLOOKUP(A1,$E$1:$F$21,2)

Move location of table to suit and change ranges in formula.


Regards

Roger Govier


tysonstone wrote:
I need help creating a cost range for the following scenario.
If the value of cell A1 falls between 0-300 I need the following cell A2 to
say $0-$300 or if A1 was 389 I would need A2 to say $300-$600 and so on. In
need it broke down in $300 increments to $6000. Thank You

  #5   Report Post  
Roger Govier
 
Posts: n/a
Default

Hi

Very neat solution! Well done.

Regards

Roger Govier


Sloth wrote:
="$"&A1-MOD(A1,300)&"-$"&300+A1-MOD(A1,300)

This formula should work for you. This puts numbers in the upper portion of
their range (ie. 0 in A1 results in $0-$300 in A2, and 3600 in A1 results in
$3600-$3900 in A2.


"tysonstone" wrote:


I need help creating a cost range for the following scenario.
If the value of cell A1 falls between 0-300 I need the following cell A2 to
say $0-$300 or if A1 was 389 I would need A2 to say $300-$600 and so on. In
need it broke down in $300 increments to $6000. Thank You



  #6   Report Post  
tysonstone
 
Posts: n/a
Default

THIS IS GREAT,
THANK YOU.

"Sloth" wrote:

="$"&A1-MOD(A1,300)&"-$"&300+A1-MOD(A1,300)

This formula should work for you. This puts numbers in the upper portion of
their range (ie. 0 in A1 results in $0-$300 in A2, and 3600 in A1 results in
$3600-$3900 in A2.


"tysonstone" wrote:

I need help creating a cost range for the following scenario.
If the value of cell A1 falls between 0-300 I need the following cell A2 to
say $0-$300 or if A1 was 389 I would need A2 to say $300-$600 and so on. In
need it broke down in $300 increments to $6000. Thank You

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
Can I use named range in data range box when creating pie chart? BJackson Charts and Charting in Excel 2 August 17th 05 05:37 PM
Question regarding dynamic range setting dharmik Excel Worksheet Functions 2 July 22nd 05 08:44 PM
Indexing a row ecohen1 Excel Worksheet Functions 6 July 20th 05 06:11 PM
our cost to customers cost thisguy Excel Worksheet Functions 2 July 15th 05 03:38 AM
Cannot Expand Named Range - when size of the Range exceeds Snig Excel Discussion (Misc queries) 1 July 7th 05 01:46 PM


All times are GMT +1. The time now is 09:07 AM.

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"