Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default Automatically generating a number range

Ive created a pretty extensive excel workbook with all sorts of
automatically generated charts and metrics. Im trying to find out how I can
enter a dollar amount in one cell and have it automatically generate a dollar
range in another cell. Example:

Cell A1 Cell B1
I type in €œ$1,055.67€ €œ$1,000 - $2,000€ is automatically generated
I type in €œ$0.00€ €œ$0 - $500€ is automatically generated
I type in €œ$12,880.50€ €œ $10,000€ is automatically generated

I know how to create the dropdown list of ranges for column B, I just dont
know how to get it to fill in without having to select it myself.

I've also tried the whole If/Then function, but it isn't working. Here's
the function I tried:
=(IF(N5<1001,"<$1001"))*OR(IF(1001<=N5<2001,"$1001-$2000"))*OR(IF(2001<=N5<3001,"$2001-$3000"))*OR(IF(3001<=N5<4001,"$3001-$4000"))


Any thoughts? Thanks!


  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 47
Default Automatically generating a number range

=IF(A1<=1000,"$0 - $500",IF(A1<=2000,"$1000 -$2000","$10000"))


"Alyssa C." wrote:

Ive created a pretty extensive excel workbook with all sorts of
automatically generated charts and metrics. Im trying to find out how I can
enter a dollar amount in one cell and have it automatically generate a dollar
range in another cell. Example:

Cell A1 Cell B1
I type in €œ$1,055.67€ €œ$1,000 - $2,000€ is automatically generated
I type in €œ$0.00€ €œ$0 - $500€ is automatically generated
I type in €œ$12,880.50€ €œ $10,000€ is automatically generated

I know how to create the dropdown list of ranges for column B, I just dont
know how to get it to fill in without having to select it myself.

I've also tried the whole If/Then function, but it isn't working. Here's
the function I tried:
=(IF(N5<1001,"<$1001"))*OR(IF(1001<=N5<2001,"$1001-$2000"))*OR(IF(2001<=N5<3001,"$2001-$3000"))*OR(IF(3001<=N5<4001,"$3001-$4000"))


Any thoughts? Thanks!


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,118
Default Automatically generating a number range

Try something like this example:

Put this table in A1:B5
0 <$1001
1001 $1001-$2000
2001 $2001-$3000
3001 $3001-$4000
4001 =4001

A10: (enter a number)

This formula displays the appropriate range that the A10 values fits into:
B10: =VLOOKUP(A10,$A$1:$B$5,2,1)

Is that something you can work with?
***********
Regards,
Ron

XL2002, WinXP


"Alyssa C." wrote:

Ive created a pretty extensive excel workbook with all sorts of
automatically generated charts and metrics. Im trying to find out how I can
enter a dollar amount in one cell and have it automatically generate a dollar
range in another cell. Example:

Cell A1 Cell B1
I type in €œ$1,055.67€ €œ$1,000 - $2,000€ is automatically generated
I type in €œ$0.00€ €œ$0 - $500€ is automatically generated
I type in €œ$12,880.50€ €œ $10,000€ is automatically generated

I know how to create the dropdown list of ranges for column B, I just dont
know how to get it to fill in without having to select it myself.

I've also tried the whole If/Then function, but it isn't working. Here's
the function I tried:
=(IF(N5<1001,"<$1001"))*OR(IF(1001<=N5<2001,"$1001-$2000"))*OR(IF(2001<=N5<3001,"$2001-$3000"))*OR(IF(3001<=N5<4001,"$3001-$4000"))


Any thoughts? Thanks!


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
Function giving a result for number within a range [email protected] Excel Worksheet Functions 3 February 28th 06 10:57 AM
count number of occurances of a word in a range John Davies Excel Worksheet Functions 3 February 24th 06 01:46 PM
automatically update a number in cell when template opens Trampas Excel Discussion (Misc queries) 1 November 30th 05 04:51 PM
How to add one number to a range of numbers BatonRougeguy Excel Worksheet Functions 1 February 16th 05 06:47 AM
GET.CELL Biff Excel Worksheet Functions 2 November 24th 04 07:16 PM


All times are GMT +1. The time now is 04:58 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"