A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » New Users
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

sumif



 
 
Thread Tools Display Modes
  #1  
Old February 25th, 2010, 10:42 AM posted to microsoft.public.excel.newusers
Barny[_2_]
external usenet poster
 
Posts: 1
Default sumif


I need to add the total in cell H6 if the following condition is met

If H60 and A6 contains the word "total" (where A6 can contain alpha
and numbers) i.e. the formula must only find the total if a6 contains
the word "total" and not if it simpy contains other figures or alpha

is this possible?




--
Barny
  #2  
Old February 25th, 2010, 02:40 PM posted to microsoft.public.excel.newusers
Gary''s Student
external usenet poster
 
Posts: 7,584
Default sumif

This is only a sample:

=IF(A6="total",SUM(H1:H5),"something else")

--
Gary''s Student - gsnu201001


"Barny" wrote:


I need to add the total in cell H6 if the following condition is met

If H60 and A6 contains the word "total" (where A6 can contain alpha
and numbers) i.e. the formula must only find the total if a6 contains
the word "total" and not if it simpy contains other figures or alpha

is this possible?




--
Barny
.

  #3  
Old February 25th, 2010, 03:18 PM posted to microsoft.public.excel.newusers
eduardo
external usenet poster
 
Posts: 2,131
Default sumif

Hi,
=if(and(H60,A6="Total"),sum(H1:H5))

"Barny" wrote:


I need to add the total in cell H6 if the following condition is met

If H60 and A6 contains the word "total" (where A6 can contain alpha
and numbers) i.e. the formula must only find the total if a6 contains
the word "total" and not if it simpy contains other figures or alpha

is this possible?




--
Barny
.

  #4  
Old February 25th, 2010, 09:45 PM posted to microsoft.public.excel.newusers
Barny[_3_]
external usenet poster
 
Posts: 1
Default sumif


Eduardo;931678 Wrote:
Hi,
=if(and(H60,A6="Total"),sum(H1:H5))

"Barny" wrote:
-

I need to add the total in cell H6 if the following condition is met

If H60 and A6 contains the word "total" (where A6 can contain

alpha
and numbers) i.e. the formula must only find the total if a6

contains
the word "total" and not if it simpy contains other figures or alpha

is this possible?




--
Barny
.
-


This works if A6 just contains total but sometimes teh cell will
contain the word Total and numbers so i need to specify that the
formula can work in both scenarios - thanks for help




--
Barny
 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


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


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