[mso] Re: Performing Calculations Using IF or VLOOKUP

Ok Michele..I received your file and mailed it back to you
privately...basically it's an IF statement with three nested ifs that use
vlookups if the number in the year column is 1, 2, or 3...I'm replying here
so people can benefit from this

I named your table on sheet two "commissions" so the formula looks like
this:

=IF(C3=1,(VLOOKUP(E3,commissions,2,FALSE)),IF(C3=2,(VLOOKUP(E3,commissions,4
,FALSE)),IF(C3=3,(VLOOKUP(E3,commissions,6,FALSE)),""))) 


Linda F. Johnson, M.A., MOS
Linda's Computer Stop
http://personal-computer-tutor.com
Free e-Books, Newsletter, and tutorials


-----Original Message-----
From: mso-bounce@xxxxxxxxxxxxx [mailto:mso-bounce@xxxxxxxxxxxxx] On Behalf
Of Michele Wong
Sent: Monday, November 24, 2003 8:11 PM
To: mso@xxxxxxxxxxxxx
Subject: [mso] Re: Performing Calculations Using IF or VLOOKUP 

I want to check an entry in a spreadsheet that will tell me what year,
then another cell will contain the discount amount. Those two, together
would determine the commission and then I would do a calculation with the
commission value that is returned.

Thanks,

Michele B. Wong


*************************************************************
You are receiving this mail because you subscribed to mso@xxxxxxxxxxxxx or 
MicrosoftOffice@xxxxxxxxxxxxxxxx

To send mail to the group, simply address it to mso@xxxxxxxxxxxxx

To Unsubscribe from this group, send an email to 
mso-request@xxxxxxxxxxxxx with the word "unsubscribe" (without the quotes) in 
the subject line.

Or, visit the group's homepage and use the dropdown menu.  This will also allow 
you to change your email settings to digest or vacation (no mail).
http://www.freelists.org/webpage/mso

To be able to use the files section for sharing files with the group, send a 
request to mso-moderators@xxxxxxxxxxxxx and you will be sent an invitation with 
instructions.  Once you are a member of the files group, you can go here to 
upload/download files:
http://www.smartgroups.com/vault/msofiles
*************************************************************

Other related posts: