Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 271
Default Need help with SUMIF formula

I need someone to help me please.

Example:
cell a2 = 5,000
cell a3 = 10,000
cell a4 = 90
cell b2 = "blank"
cell b3 = 5,000
cell b4 = 90

i am writing a SUMIF problem =sumif(a4:b4,90,a3:b3)

but what i need is the sum of cells a3 if a2 is blank, if cell a2 has a
number then i need that number. in other words the total of this formula
needs to = 10,000 not 15,000.

Can anyone help me?

Susan
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,501
Default Need help with SUMIF formula

Hi,

If I understand correctly maybe this in c2

=IF(COUNT(A2,B2)<2,A2+A3,A2+B2)

Mike

"Susan" wrote:

I need someone to help me please.

Example:
cell a2 = 5,000
cell a3 = 10,000
cell a4 = 90
cell b2 = "blank"
cell b3 = 5,000
cell b4 = 90

i am writing a SUMIF problem =sumif(a4:b4,90,a3:b3)

but what i need is the sum of cells a3 if a2 is blank, if cell a2 has a
number then i need that number. in other words the total of this formula
needs to = 10,000 not 15,000.

Can anyone help me?

Susan

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4,393
Default Need help with SUMIF formula

Not very clear but here goes:
=IF(isblank(A2),A3,A2)

I do not see why you use the word 'sum'
best wishes
--
Bernard V Liengme
Microsoft Excel MVP
http://people.stfx.ca/bliengme
remove caps from email

"Susan" wrote in message
...
I need someone to help me please.

Example:
cell a2 = 5,000
cell a3 = 10,000
cell a4 = 90
cell b2 = "blank"
cell b3 = 5,000
cell b4 = 90

i am writing a SUMIF problem =sumif(a4:b4,90,a3:b3)

but what i need is the sum of cells a3 if a2 is blank, if cell a2 has a
number then i need that number. in other words the total of this formula
needs to = 10,000 not 15,000.

Can anyone help me?

Susan



  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 747
Default Need help with SUMIF formula

may be ?

=INDEX(A1:A4,MATCH(TRUE,ISBLANK(B1:B4),0)+1,0)

use ctrl + shift + enter


On Oct 16, 11:33*pm, Susan wrote:
I need someone to help me please. *

Example:
cell a2 = 5,000
cell a3 = 10,000
cell a4 = 90
cell b2 = "blank"
cell b3 = 5,000
cell b4 = 90

i am writing a SUMIF problem =sumif(a4:b4,90,a3:b3)

but what i need is the sum of cells a3 if a2 is blank, if cell a2 has a
number then i need that number. *in other words the total of this formula
needs to = 10,000 not 15,000.

Can anyone help me?

Susan


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
Nesting a sumproduct formula within a sumif formula. jerrymcm Excel Discussion (Misc queries) 2 October 3rd 07 03:35 PM
multiply formula where 1 cell has a (sumif) formula as a result kcip Excel Worksheet Functions 1 May 3rd 07 07:41 AM
Formula for If - SUMIF Keith L Excel Discussion (Misc queries) 2 November 11th 06 11:22 PM
Sumif and And formula StephenAccountant Excel Discussion (Misc queries) 5 November 9th 06 04:11 AM
Is there a MAXIF formula similar to the SUMIF formula? tlc Excel Discussion (Misc queries) 2 March 13th 06 08:07 PM


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