Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 40
Default Using VLOOKUP or HLOOKUP to sum ROWS

I wish to sum the values in row 5 (column D & E, which are merged), that
compares to the date in B1
in othwers words 'Jul-08 (B1) looks up 'Jul-08 in cloumns D & E and sums the
values = 10 + 10 and places result in column F
A B C D E F
1 AS AT Jul-08
2 Jun-08 Jul-08
3 Mon Fri Fri Sat
5 10 10 10 10 20


--
Browny
  #2   Report Post  
Posted to microsoft.public.excel.misc
Max Max is offline
external usenet poster
 
Posts: 9,221
Default Using VLOOKUP or HLOOKUP to sum ROWS

In F5: =SUM(OFFSET(A5,,MATCH($B$1,B$2:E$2,0),,2))
Note that the "2" in the expression is a hard coded figure used (it is the
width param in the OFFSET), since there's really no way to "know" the extent
of your merge of D2 into x number of cells.
--
Max
Singapore
http://savefile.com/projects/236895
Downloads:16,700 Files:356 Subscribers:53
xdemechanik
---
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
Using VLOOKUP or HLOOKUP to sum ROWS Max Excel Discussion (Misc queries) 0 August 4th 08 04:35 AM
vlookup and hlookup Lori Excel Worksheet Functions 1 April 17th 07 03:10 PM
VLOOKUP , HLOOKUP bijan Excel Discussion (Misc queries) 4 January 7th 07 08:04 PM
VLookup & HLookup [email protected] Excel Discussion (Misc queries) 2 October 3rd 05 03:36 PM
Vlookup and Hlookup Phlogiston2312 Excel Worksheet Functions 2 April 20th 05 05:09 PM


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