Prev Previous Post   Next Post Next
  #10   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 328
Default IF Formula

Thank you!

"Don Guillett" wrote:

=SUM(A2:OFFSET(A2,0,MATCH(k2,1:1,0)-1))


--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"Don Guillett" wrote in message
...
=SUM(A5:OFFSET(A2,0,MATCH(k2,1:1,0)-1))

--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"Lisa" wrote in message
...
I need help with the formula.

A B C D E
1 Jan Feb Mar Apr May
2 10 5 15 7 8

If K2 is Mar I need to sum A2 thru C2. If K2 is May I need to sum A2 thru
E2.

Thank you in advance.






 
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



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