#1   Report Post  
Posted to microsoft.public.excel.charting
external usenet poster
 
Posts: 1
Default ExCel programming

I am working on a spreadsheet for work where it will calculate commissions to
be earned based on my sales. There is a table that I have to use to determine
what the percentage would be, how would I write an equation for that. For
example, the equation would have to say: if say D3 was = or < than %, use
cell# whatever and then have a sum in there. The table is on another sheet in
the document so that would have to be there too.

Basically, the way that my commissions are calculated is that we have to
take what I sold in any given month and find out what percentage of my yearly
plan it is. That will give me the percentage that I locate on the tables.
When I have this %, I then have to take my monthly salary and multiply the
percentage to get the amount of my commission.

Any help would be greatly appreciated.
--
Jocelyn Marsden
Sales Executive
Xerox North American Inside Sales
( 1-866-479-0828 Intelnet: 8*280-2937
Fax: 1-866-350-1125
  #2   Report Post  
Posted to microsoft.public.excel.charting
external usenet poster
 
Posts: 9,101
Default ExCel programming

If statements format is the test value then if true or false.

referencing a differnt worksheet the format is 'Sheet1!A1

so for your case

=if('sheet2'!A1 < .7, 'sheet2'!A2 * 15.00,if('sheet2'!A1 < .8, 'sheet2'!A2 *
16.00,if('sheet2'!A1 < .9, 'sheet2'!A2 * 17.00, 'sheet2'!A2 * 18.00)))

This will give the following results
x <.7 commision is 15.00
..7 <= x < .8 commision is 16.00
..8 <= x < .9 commision is 17.00
..9 <= x commision is 18.00





"Jae" wrote:

I am working on a spreadsheet for work where it will calculate commissions to
be earned based on my sales. There is a table that I have to use to determine
what the percentage would be, how would I write an equation for that. For
example, the equation would have to say: if say D3 was = or < than %, use
cell# whatever and then have a sum in there. The table is on another sheet in
the document so that would have to be there too.

Basically, the way that my commissions are calculated is that we have to
take what I sold in any given month and find out what percentage of my yearly
plan it is. That will give me the percentage that I locate on the tables.
When I have this %, I then have to take my monthly salary and multiply the
percentage to get the amount of my commission.

Any help would be greatly appreciated.
--
Jocelyn Marsden
Sales Executive
Xerox North American Inside Sales
( 1-866-479-0828 Intelnet: 8*280-2937
Fax: 1-866-350-1125

  #3   Report Post  
Posted to microsoft.public.excel.charting
external usenet poster
 
Posts: 4
Default ExCel programming

IF statements are most probably the wrong way to go. You should use the
VLOOKUP function. For an example of its use with a table see
http://www.cpearson.com/excel/pricing.htm

"Jae" wrote in message
...
I am working on a spreadsheet for work where it will calculate commissions
to
be earned based on my sales. There is a table that I have to use to
determine
what the percentage would be, how would I write an equation for that. For
example, the equation would have to say: if say D3 was = or < than %, use
cell# whatever and then have a sum in there. The table is on another sheet
in
the document so that would have to be there too.

Basically, the way that my commissions are calculated is that we have to
take what I sold in any given month and find out what percentage of my
yearly
plan it is. That will give me the percentage that I locate on the tables.
When I have this %, I then have to take my monthly salary and multiply the
percentage to get the amount of my commission.

Any help would be greatly appreciated.
--
Jocelyn Marsden
Sales Executive
Xerox North American Inside Sales
( 1-866-479-0828 Intelnet: 8*280-2937
Fax: 1-866-350-1125



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
how i can do programming in MS Excel.? Vishvapal Excel Worksheet Functions 1 February 13th 07 01:18 PM
ADO programming in Excel-VBA CLamar Excel Discussion (Misc queries) 1 May 31st 06 02:45 PM
Excel/VBA programming Carlos A Excel Discussion (Misc queries) 2 July 24th 05 10:21 PM
Excel Programming Sprad-Dog New Users to Excel 2 July 13th 05 07:12 PM
Excel Programming help Geoff D'Arcy Excel Worksheet Functions 2 November 1st 04 06:31 PM


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