#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 7
Default Offset

I need to sum the total from column A to D, the number of column is varies
A B C D E F
1 Jan Feb Mar Apr May
2 Sample x x x x x

My formula returns a zero, pls check what's wrong
=sumif(a2:a2,a2,offset(A2:A2,0,5,05)


  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,520
Default Offset

Can you elaborate your query..
--Do you mean sum or count ?
--'x' represents numbers or is counted as 1 ?


If this post helps click Yes
---------------
Jacob Skaria


"MichelleT" wrote:

I need to sum the total from column A to D, the number of column is varies
A B C D E F
1 Jan Feb Mar Apr May
2 Sample x x x x x

My formula returns a zero, pls check what's wrong
=sumif(a2:a2,a2,offset(A2:A2,0,5,05)


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,651
Default Offset

The first thing that's wrong is that your parentheses don't match, so that's
obviously not the formula which you are using.
Don't try to retype. Copy your formula from the formula bar and paste here.

And your OFFSET formula will return the range F2:F6.

And your SUMIF is looking only at A2 and checking that it is equal to A2,
and will therefore return the value of the first element of the range, in
other words it will return F2. Is that what you wanted?
--
David Biddulph

"MichelleT" wrote in message
...
I need to sum the total from column A to D, the number of column is varies
A B C D E F
1 Jan Feb Mar Apr May
2 Sample x x x x x

My formula returns a zero, pls check what's wrong
=sumif(a2:a2,a2,offset(A2:A2,0,5,05)




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
Offset??? Ken Excel Discussion (Misc queries) 2 March 23rd 09 03:28 PM
Compare Cell Values, Offset(-1,0), Offset(-1,-1), and xlFillDefaul RyGuy Excel Worksheet Functions 2 September 28th 07 10:54 PM
Offset. Joe Edwards Excel Worksheet Functions 2 November 2nd 06 06:57 AM
SUM() and OFFSET() CAUSES #VALUE [email protected] Excel Worksheet Functions 7 September 13th 06 02:46 AM
=offset ??? myeaddress2003 Excel Worksheet Functions 4 July 14th 06 01:44 PM


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