PC Review


Reply
Thread Tools Rate Thread

How do I identify a number in a range and then multiply?

 
 
=?Utf-8?B?TGVpZ2g=?=
Guest
Posts: n/a
 
      16th Nov 2006
Under tight deadline - please help!!!!!

I have developed an excel spreadsheet to cost out different options based on
the number of groups selected. The price per group goes down the more groups
that are selected based on a predetermined range. I need to figure out how
to get the number of groups to multiply by the correct price for that range.

Here are my ranges:
<20
21-39
40-59
60-79
80-99
>100


I got the >100 group to work by using:
=IF(D7>99,(D7*'fee schedule'!A28)
but can't get past that.

Please help if you can!
Thanks

 
Reply With Quote
 
 
 
 
Gary Keramidas
Guest
Posts: n/a
 
      16th Nov 2006

check out select case instead of if then

http://www.ozgrid.com/VBA/select-case.htm
--


Gary


"Leigh" <(E-Mail Removed)> wrote in message
news:519516AD-AE88-48A4-9A46-(E-Mail Removed)...
> Under tight deadline - please help!!!!!
>
> I have developed an excel spreadsheet to cost out different options based on
> the number of groups selected. The price per group goes down the more groups
> that are selected based on a predetermined range. I need to figure out how
> to get the number of groups to multiply by the correct price for that range.
>
> Here are my ranges:
> <20
> 21-39
> 40-59
> 60-79
> 80-99
>>100

>
> I got the >100 group to work by using:
> =IF(D7>99,(D7*'fee schedule'!A28)
> but can't get past that.
>
> Please help if you can!
> Thanks
>



 
Reply With Quote
 
=?Utf-8?B?Sk1C?=
Guest
Posts: n/a
 
      16th Nov 2006
One way, set up your table like this (let's call it FeeSchedule)

Range Fee
0 1
21 2
40 3
60 4
80 5
100 6


=VLookup(D7, FeeSchedule, 2)*D7


"Leigh" wrote:

> Under tight deadline - please help!!!!!
>
> I have developed an excel spreadsheet to cost out different options based on
> the number of groups selected. The price per group goes down the more groups
> that are selected based on a predetermined range. I need to figure out how
> to get the number of groups to multiply by the correct price for that range.
>
> Here are my ranges:
> <20
> 21-39
> 40-59
> 60-79
> 80-99
> >100

>
> I got the >100 group to work by using:
> =IF(D7>99,(D7*'fee schedule'!A28)
> but can't get past that.
>
> Please help if you can!
> Thanks
>

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Multiply a range by -1 Greg Snidow Microsoft Excel Programming 4 15th Oct 2009 07:44 PM
Identify the column of a range by letter instead of number =?Utf-8?B?UGV0ZXIgUm9vbmV5?= Microsoft Excel Programming 9 10th Jan 2006 10:29 AM
Multiply a range Chris Mahoney Microsoft Excel Programming 4 24th Feb 2005 11:10 PM
Multiply a Range by a Constant =?Utf-8?B?SmltIFRob21saW5zb24=?= Microsoft Excel Programming 1 22nd Nov 2004 08:55 PM
Multiply range =?Utf-8?B?Um9kcmlnbw==?= Microsoft Excel Programming 3 14th Nov 2003 01:18 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 11:07 PM.