Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 14
Default Formual If All Cells are Blank



Can anyone give me formual for a sum if all ie (E3:L3) is blank
bearing in mind these cell have both dates and qty in?

I would like: 0

O3=Sum(C3*D3) If E3:L3 = ""

Can anyone help please

Thanks

Linexe
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 14
Default Formual If All Cells are Blank


Sorry, I meant to say, I am getting as far as this, burit doesn't seem
to work, any ideas?


=IF((E3,G3,I3,K3<0)+IF(F3,H3,J3,L3=""),C3*D3)
  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3
Default Formual If All Cells are Blank



"Linexe" wrote:


Sorry, I meant to say, I am getting as far as this, burit doesn't seem
to work, any ideas?


=IF((E3,G3,I3,K3<0)+IF(F3,H3,J3,L3=""),C3*D3)

What specifically are you trying to achieve?

Do you want the cell to equal '0' if all of the cells E3,G3,I3,K3 and
F3,H3,J3,L3 are all blank??

If so try,

=if(AND(E3=0,G3=0,I3=0,K3=0,F3=0,H3=0,J3=0,L3=0)," ",C3*D3)

Not sure what C3 and D3 are however from your formula I assume that if any
of the cells E3 onwards are not equal to '0' then you want the result to me
C3 and D£ multiplied
  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 14
Default Formual If All Cells are Blank


Nearly.......

=IF(AND(E3="",G3="",I3="",K3="",F3="",H3="",J3="", L3=""),"",C3*D3)

This gives me the sum of E3:L3 which has Text/qty in,

I need to know what O3 is if All the cell E3:L3 are blank


Thank you in advance
  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3
Default Formual If All Cells are Blank



"Linexe" wrote:


Nearly.......

=IF(AND(E3="",G3="",I3="",K3="",F3="",H3="",J3="", L3=""),"",C3*D3)

This gives me the sum of E3:L3 which has Text/qty in,

I need to know what O3 is if All the cell E3:L3 are blank


Thank you in advance


Think I might be missing something, however if as you say all you are after
is the value of O3 if E3:L3 are blank then all you need is

=IF(AND(E3="",G3="",I3="",K3="",F3="",H3="",J3="", L3=""),O3,C3*D3)

this will result in the value of C3*D3 if any of the cells are not bblank

If this isn't it then feel free to email a section of the spreadsheet with
an outline of what you want from each cell and i'll be happy to sort ot for
you


  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default Formual If All Cells are Blank

To check if they're really empty (not even a formula!):

=if(counta(e3:l3)=0,"all empty","not all empty")

So maybe...

In o3:
=if(counta(e3:l3)=0,0,c3*d3)

=sum() doesn't help in this expression: =sum(c3*d3)




Linexe wrote:

Can anyone give me formual for a sum if all ie (E3:L3) is blank
bearing in mind these cell have both dates and qty in?

I would like: 0

O3=Sum(C3*D3) If E3:L3 = ""

Can anyone help please

Thanks

Linexe


--

Dave Peterson
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
Index/match - make blank cells return a blank value. diaare Excel Worksheet Functions 3 May 3rd 23 03:44 AM
Maximum Number of Blank Cells between Non Blank Cells in a Range Mal Excel Worksheet Functions 5 November 3rd 07 08:21 AM
How to count blank cells (Rows) between Non-Blank cells in Col "A" Dennis Excel Discussion (Misc queries) 8 July 20th 06 11:25 PM
Imported Data creates blank cells that aren't really blank JackieD Excel Worksheet Functions 14 February 23rd 06 12:57 AM
Making Blank Cells Really Blank (Zen Koan) Ralph Excel Worksheet Functions 2 April 11th 05 12:07 AM


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