Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Junior Member
 
Posts: 1
Default Adding cells until they are greater than a lookup cell and returning a value

I have spent hours on this, and I believe I need a match, offset, index, but not sure which order.

I am trying to total cells until they are greater than the value in another cell and then pull in the date from an adjacent cell when they are.

I have dates in E2 to R2
I have numbers in E3 to R3

I have a value in B3

I want to total E3 to R3 until the sum is greater then the value in B3, when it reaches that point, I want to pull the corresponding date from cells E2 to R2.
The result needs to be in cell A3
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,872
Default Adding cells until they are greater than a lookup cell and returning a value

Hi,

Am Mon, 17 Feb 2014 15:14:34 +0000 schrieb thunderbirdlindy:

I have dates in E2 to R2
I have numbers in E3 to R3

I have a value in B3

I want to total E3 to R3 until the sum is greater then the value in B3,
when it reaches that point, I want to pull the corresponding date from
cells E2 to R2.
The result needs to be in cell A3


if you put your data into columns you can use a formula.
Look he
https://skydrive.live.com/#cid=9378A...121822A3%21326
for the workbook "DateCheck"
With your data in rows you have to solve it with VBA


Regards
Claus B.
--
Win XP PRof SP2 / Vista Ultimate SP2
Office 2003 SP2 /2007 Ultimate SP2
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
Returning data of multiple cells for lookup of mulltiple cells HELP on data reference formulas Excel Discussion (Misc queries) 1 October 29th 08 08:27 PM
How to check all three cells are greater than 0% and then lookup v Len Excel Worksheet Functions 7 October 23rd 08 02:24 PM
returning multiple cells for a single lookup esloan Excel Discussion (Misc queries) 2 August 22nd 07 06:52 PM
lookup returning several cells Andre Excel Discussion (Misc queries) 4 July 13th 06 10:56 PM
Adding cells with alphabet and returning a numbric value Irv Excel Worksheet Functions 4 December 23rd 04 10:01 PM


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