#1   Report Post  
Posted to microsoft.public.excel.misc
n1kk1
 
Posts: n/a
Default help with a formula


Hello, I have the following formula that relates to another worksheet
where I am asking excel to show '3' if both cells are the same,
otherwise '0' and show '1' for whatever figure is highest, this all
works fine but when the cells are empty they are obviously showing '3'
- how can I get it to show '0' when cells are blank..?

=IF(C7+G7='Winning Scores'!B5+'Winning
Scores'!D5,"3","0")+IF(OR(AND(C7G7,'Winning Scores'!B5'Winning
Scores'!D5),AND(AM!C7<AM!G7,'Winning Scores'!B5<'Winning
Scores'!D5)),1,0)

Thanks for all the advice out there this site has been a huge help!

nx


--
n1kk1
------------------------------------------------------------------------
n1kk1's Profile: http://www.excelforum.com/member.php...o&userid=35173
View this thread: http://www.excelforum.com/showthread...hreadid=550311

  #2   Report Post  
Posted to microsoft.public.excel.misc
Anna
 
Posts: n/a
Default help with a formula

check the empty cell first.
=IF(OR((C7=""),(G7="")),0,"continue to put if forumula ")



"n1kk1" wrote:


Hello, I have the following formula that relates to another worksheet
where I am asking excel to show '3' if both cells are the same,
otherwise '0' and show '1' for whatever figure is highest, this all
works fine but when the cells are empty they are obviously showing '3'
- how can I get it to show '0' when cells are blank..?

=IF(C7+G7='Winning Scores'!B5+'Winning
Scores'!D5,"3","0")+IF(OR(AND(C7G7,'Winning Scores'!B5'Winning
Scores'!D5),AND(AM!C7<AM!G7,'Winning Scores'!B5<'Winning
Scores'!D5)),1,0)

Thanks for all the advice out there this site has been a huge help!

nx


--
n1kk1
------------------------------------------------------------------------
n1kk1's Profile: http://www.excelforum.com/member.php...o&userid=35173
View this thread: http://www.excelforum.com/showthread...hreadid=550311


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
Match then lookup Tenacity Excel Worksheet Functions 9 December 3rd 05 05:30 AM
Formula Problem - interrupted by #VALUE! in other cells!? Ted Excel Worksheet Functions 17 November 25th 05 05:18 PM
Formula checking multiple worksheets sonic-the-mouse Excel Worksheet Functions 2 June 5th 05 03:28 AM
Creating a check mark box MarthaSue Setting up and Configuration of Excel 18 April 28th 05 12:31 AM
Match / Vlookup within an Array formula Hari Prasadh Excel Discussion (Misc queries) 3 February 3rd 05 04:37 PM


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

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

About Us

"It's about Microsoft Excel"