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

Hi,

Can someone help with the following conditional IF question please:

If value in C4 is numeric, then the formula for K4 is C4*J4 rounded to 2
places
or if C4 is the text "item" or "Item", then take the value to be 1.

If C4 is empty, do nothing.

Regards and thanks,
Stuart.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,651
Default IF question

=IF(ISNUMBER(C4),ROUND(C4*J4,2),IF(C4="item",1,IF( C4="","","undefined
output")))
--
David Biddulph

"Stuart" wrote in message
...
Hi,

Can someone help with the following conditional IF question please:

If value in C4 is numeric, then the formula for K4 is C4*J4 rounded to 2
places
or if C4 is the text "item" or "Item", then take the value to be 1.

If C4 is empty, do nothing.

Regards and thanks,
Stuart.



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 62
Default IF question

Thanks David.

How do I change it so that if C4 is empty of any data, then J4 stays blank,
please?

Regards,
Stuart.


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

=IF(C4="","","whatever you want J4 to be in the cases where C4 isn't blank")
--
David Biddulph

"Stuart" wrote in message
...
Thanks David.

How do I change it so that if C4 is empty of any data, then J4 stays
blank,
please?

Regards,
Stuart.




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
where can I see my question and answer? Yesterday I ask a question IP Excel Discussion (Misc queries) 2 May 10th 08 04:08 PM
sum if question Ann Excel Worksheet Functions 6 June 28th 07 09:00 PM
question boSS Excel Discussion (Misc queries) 1 October 30th 06 11:03 PM
Newbie Question - Subtraction Formula Question [email protected] Excel Discussion (Misc queries) 3 May 5th 06 05:50 PM
The question is an excel question that I need to figure out howto do in excel. Terry Excel Worksheet Functions 3 January 23rd 06 06:22 PM


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