#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8
Default IF functions

Hi all.

Need some help with the following:
=IF(F2="50000",10%,IF(F2="100000",14%,("5%")))
When i run this function everything shows as 5%, yet anything 100000 = 14%,
abd anything 50000 = 10%. Can anyone advise as to what is wrong with my IF
function.

Need help urgently
Thankyou in advance

--
Enquirer
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11,501
Default IF functions

Hi,

There's a couple of things. First take the percentages out of quotes and
they will return values and second revers the order of the statement so it
evaluates the higher value first.

=IF(F2=100000,10%,IF(F2=50000,14%,5%))

Mike

"pejy69" wrote:

Hi all.

Need some help with the following:
=IF(F2="50000",10%,IF(F2="100000",14%,("5%")))
When i run this function everything shows as 5%, yet anything 100000 = 14%,
abd anything 50000 = 10%. Can anyone advise as to what is wrong with my IF
function.

Need help urgently
Thankyou in advance

--
Enquirer

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11,501
Default IF functions

I did of course mean to change the percentages too!!

=IF(F2=100000,14%,IF(F2=50000,10%,5%))

"pejy69" wrote:

Hi all.

Need some help with the following:
=IF(F2="50000",10%,IF(F2="100000",14%,("5%")))
When i run this function everything shows as 5%, yet anything 100000 = 14%,
abd anything 50000 = 10%. Can anyone advise as to what is wrong with my IF
function.

Need help urgently
Thankyou in advance

--
Enquirer

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8
Default IF functions

Thankyou very much.... worked wonders
--
Enquirer


"Mike H" wrote:

Hi,

There's a couple of things. First take the percentages out of quotes and
they will return values and second revers the order of the statement so it
evaluates the higher value first.

=IF(F2=100000,10%,IF(F2=50000,14%,5%))

Mike

"pejy69" wrote:

Hi all.

Need some help with the following:
=IF(F2="50000",10%,IF(F2="100000",14%,("5%")))
When i run this function everything shows as 5%, yet anything 100000 = 14%,
abd anything 50000 = 10%. Can anyone advise as to what is wrong with my IF
function.

Need help urgently
Thankyou in advance

--
Enquirer

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
formula/functions for average and if functions Petu71 Excel Worksheet Functions 2 August 5th 07 08:25 PM
XL2003 FILTER FUNCTIONS VS. XL2007 FILTER FUNCTIONS RET70168 Excel Worksheet Functions 0 June 15th 07 01:00 AM
efficiency: database functions vs. math functions vs. array formula nickname Excel Discussion (Misc queries) 2 July 14th 06 04:26 AM
Looking for a site with functions that substitute the ATP functions Franz Verga Excel Worksheet Functions 3 June 24th 06 04:30 AM
Nesting functions in the functions dialog box cs170a Excel Worksheet Functions 0 June 10th 05 10:36 PM


All times are GMT +1. The time now is 04:07 AM.

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"