LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #7   Report Post  
Bryan Hessey
 
Posts: n/a
Default


Hi,

Not sure of your data, but if it is in the format of your second post,
Hol(s) 8.00 9.75 9.00 Hol(c) 0.00 10.00 9.25 9.00 8.25
then that can be totalled using (your data in A8 to J8)

=IF(ISERROR(MATCH("Hol(c)",A8:J8,0)),SUM(A8:J8),SU M(A8:
(OFFSET(A8,0,L8,1,1))))
and in the next column
=IF(ISERROR(MATCH("Hol(c)",A8:J8,0)),"",SUM((OFFSE T(A8,0,L8,1,1)
:J8)))

with, in column L
=MATCH("Hol(c)",A8:J8)-1

the first column will total up all hols if no Hol(c) exists, or the
hours to the left of that word.
the second column will total any hours after finding Hol(c) or be
blank.

Also, a sum can be =Sum(B8,D8,F8,H8) etc.

btw, well spotted Bernard, I read as far as "How do I sum excluding
some columns" and should have read on.
watch for spaces inserted to prevent smiley faces.


HappyTrucker Wrote:
I can't use SUM unfortunately, because I needed to SUM alternate columns
B3,D3,F3 and C3,E3,G3 etc), not the whole row.



--
Bryan Hessey
------------------------------------------------------------------------
Bryan Hessey's Profile: http://www.excelforum.com/member.php...o&userid=21059
View this thread: http://www.excelforum.com/showthread...hreadid=395644

 
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
vlookup on large text in cells Gus Excel Worksheet Functions 2 February 23rd 06 06:55 PM
Large amount of text in cells - Problem text.xls (0/1) Patrick Excel Discussion (Misc queries) 3 May 5th 05 04:10 PM
Format text across cells peterlsutton New Users to Excel 3 February 21st 05 07:54 PM
how do i add the same text after current text in multiple cells Sue Excel Discussion (Misc queries) 3 January 13th 05 09:28 PM
how do I 'count' the number of cells with a text in red or black? Anjin Topeng Excel Worksheet Functions 2 November 4th 04 06:42 AM


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