Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 6
Default Creating a formula which includes percentages

I am having difficulty creating a formula. My list has clients who has been
with a company for x number of months. Depending on how long they have been
clients, results how much discount they receive.

eg:

A B C D E
FIRST LAST MTHS MTHS PERCENTAGE
REGD
Joe Blog 19 5 5%
10 10%
15 12%
20 15%

Can anyone help me?

Many thanks,
Marty
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4,339
Default Creating a formula which includes percentages

try:

A1=Months

in B1 (formatted as %):

=LOOKUP(A1,{0,5,10,15,20},{0,0.05,0.1,0.12,0.15})

<5 months==0
5-9 months==5%
etc

HTH

"mda19652" wrote:

I am having difficulty creating a formula. My list has clients who has been
with a company for x number of months. Depending on how long they have been
clients, results how much discount they receive.

eg:

A B C D E
FIRST LAST MTHS MTHS PERCENTAGE
REGD
Joe Blog 19 5 5%
10 10%
15 12%
20 15%

Can anyone help me?

Many thanks,
Marty

  #3   Report Post  
Posted to microsoft.public.excel.misc
Max Max is offline
external usenet poster
 
Posts: 9,221
Default Creating a formula which includes percentages

One way is to use vlookup ..

Assuming col C contains the number of months that cust have been your
clients (data in C2 down), then you could put in say, D2:
=VLOOKUP(C2,{0,0;5,0.05;10,0.1;15,0.12;20,0.15},2)
Format D2 as percentage, copy down

Col D will return the relevant discount percentages
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"mda19652" wrote:
I am having difficulty creating a formula. My list has clients who has been
with a company for x number of months. Depending on how long they have been
clients, results how much discount they receive.

eg:

A B C D E
FIRST LAST MTHS MTHS PERCENTAGE
REGD
Joe Blog 19 5 5%
10 10%
15 12%
20 15%

Can anyone help me?

Many thanks,
Marty

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,501
Default Creating a formula which includes percentages

Looking at your data table below you seem to be starting from the wrong
place. For example yo have a column 'Months Registered' that contains a
number of months. If you approach it that way it will be wrong next month.

What you need is 2 tables:-

Customer - Date registered - Months registered

Bloggs 1/6/2007 =MONTH(NOW())-MONTH(b2)

Month regsitered now updates automatically.

In a second table you need:-

Months - Discount
5 5%
10 10%
15 12%
20 15%

A simple Vlookup now calculates the discount per Customer

=VLOOKUP(C2,A1:B9,2,TRUE)


Where c2 is the months registered.
a1:b9 is the discount table
True makes it return the nearest value if there isn't an exact match.


Mike
"mda19652" wrote:

I am having difficulty creating a formula. My list has clients who has been
with a company for x number of months. Depending on how long they have been
clients, results how much discount they receive.

eg:

A B C D E
FIRST LAST MTHS MTHS PERCENTAGE
REGD
Joe Blog 19 5 5%
10 10%
15 12%
20 15%

Can anyone help me?

Many thanks,
Marty

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
Conditional Format Formula "includes" Cheri Excel Discussion (Misc queries) 4 April 13th 06 08:53 PM
Formula Problem which includes Sum,If,Frequency,match and row BigH Excel Discussion (Misc queries) 2 February 12th 06 04:44 PM
formula that includes a maximum amount fbcmusicmark Excel Worksheet Functions 5 December 6th 05 11:25 PM
formula for percentages Tracy Excel Discussion (Misc queries) 4 May 11th 05 06:12 PM
Formula for a range of percentages Tkshowers Excel Discussion (Misc queries) 6 April 22nd 05 09:54 PM


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