Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Old December 13th 05, 04:36 PM posted to microsoft.public.excel.worksheet.functions
donnaK
 
Posts: n/a
Default Round/Ceiling on an IF function returning numerical value or text

Excel 2000.

This formula returns an error of #VALUE when I add the rounding, instead of
the text "No Fica Due" Does anyone have any suggestions? I believe I must
have the cell formatted as "number" for when the cell returns a numerical
value.

=CEILING(IF(IF(J25<90000,0.062*I25,(90000-J24)*0.062)<0,"No FICA
due",IF(J25<90000,0.062*I25,(90000-J24)*0.062)),0.002)

  #2   Report Post  
Old December 13th 05, 05:03 PM posted to microsoft.public.excel.worksheet.functions
Bernie Deitrick
 
Posts: n/a
Default Round/Ceiling on an IF function returning numerical value or text

Donna,

See if this works for all cases....

=IF(CEILING(MAX(IF(J25<90000,0.062*I25,(90000-J24)*0.062),0),0.002)<=0,"No FICA
Due",CEILING(IF(J25<90000,0.062*I25,(90000-J24)*0.062),0.002))

HTH,
Bernie
MS Excel MVP


"donnaK" wrote in message
...
Excel 2000.

This formula returns an error of #VALUE when I add the rounding, instead of
the text "No Fica Due" Does anyone have any suggestions? I believe I must
have the cell formatted as "number" for when the cell returns a numerical
value.

=CEILING(IF(IF(J25<90000,0.062*I25,(90000-J24)*0.062)<0,"No FICA
due",IF(J25<90000,0.062*I25,(90000-J24)*0.062)),0.002)



  #3   Report Post  
Old December 13th 05, 05:10 PM posted to microsoft.public.excel.worksheet.functions
Peo Sjoblom
 
Posts: n/a
Default Round/Ceiling on an IF function returning numerical value or text

You need to use CEILING within the IF formula (multiple times I guess)
or else you'll get the error, maybe you can use

=IF(J25<90000,CEILING(0.062*I25,0.002),IF((90000-J24)*0.062<0,"No FICA
due",CEILING((90000-J24)*0.062,0.002)))


--

Regards,

Peo Sjoblom

"donnaK" wrote in message
...
Excel 2000.

This formula returns an error of #VALUE when I add the rounding, instead

of
the text "No Fica Due" Does anyone have any suggestions? I believe I

must
have the cell formatted as "number" for when the cell returns a numerical
value.

=CEILING(IF(IF(J25<90000,0.062*I25,(90000-J24)*0.062)<0,"No FICA
due",IF(J25<90000,0.062*I25,(90000-J24)*0.062)),0.002)



  #4   Report Post  
Old December 13th 05, 05:16 PM posted to microsoft.public.excel.worksheet.functions
B. R.Ramachandran
 
Posts: n/a
Default Round/Ceiling on an IF function returning numerical value or text

Hi,

Embed the CEILNG function at each calculation point in your formula. When
'No Fica due" is to be answer, your formula is trying to calculate
=CEILING("No Fica due", 0.002) and returns an error message. Try the
following formula:

=IF(IF(J25<90000,CEILING(0.062*I25,0.002),(90000-J24)*0.062)<0,"No FICA
due",IF(J25<90000,CEILING(0.062*I25,0.002),CEILING ((90000-J24)*0.062,0.002)))

Regards,
B. R. Ramachandran


"donnaK" wrote:

Excel 2000.

This formula returns an error of #VALUE when I add the rounding, instead of
the text "No Fica Due" Does anyone have any suggestions? I believe I must
have the cell formatted as "number" for when the cell returns a numerical
value.

=CEILING(IF(IF(J25<90000,0.062*I25,(90000-J24)*0.062)<0,"No FICA
due",IF(J25<90000,0.062*I25,(90000-J24)*0.062)),0.002)

  #5   Report Post  
Old December 13th 05, 05:20 PM posted to microsoft.public.excel.worksheet.functions
donnaK
 
Posts: n/a
Default Round/Ceiling on an IF function returning numerical value or t

Yes Peo, that works. Thanks alot

"Peo Sjoblom" wrote:

You need to use CEILING within the IF formula (multiple times I guess)
or else you'll get the error, maybe you can use

=IF(J25<90000,CEILING(0.062*I25,0.002),IF((90000-J24)*0.062<0,"No FICA
due",CEILING((90000-J24)*0.062,0.002)))


--

Regards,

Peo Sjoblom

"donnaK" wrote in message
...
Excel 2000.

This formula returns an error of #VALUE when I add the rounding, instead

of
the text "No Fica Due" Does anyone have any suggestions? I believe I

must
have the cell formatted as "number" for when the cell returns a numerical
value.

=CEILING(IF(IF(J25<90000,0.062*I25,(90000-J24)*0.062)<0,"No FICA
due",IF(J25<90000,0.062*I25,(90000-J24)*0.062)),0.002)






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
Countif function for instances of text string contained Garbunkel Excel Worksheet Functions 1 October 11th 05 08:09 AM
Automatically up date time in a cell Mark Excel Discussion (Misc queries) 5 May 12th 05 12:26 AM
Macro or Function to make text size to suite text Length? lbbss Excel Discussion (Misc queries) 4 December 14th 04 08:53 PM
Adding text before a function Eric Excel Worksheet Functions 1 November 3rd 04 07:57 PM
returning a text cell based on a number cell Josh7777777 Excel Worksheet Functions 2 November 2nd 04 08:42 PM


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

Powered by vBulletin® Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
Copyright 2004-2019 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"

 

Copyright © 2017