LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 5
Default Another table lookup question

This problem is a little difficult to explain in words, so please
excuse me if this doesn't make sense as is.

I have a large data table with a header row and data something like
this:

Item Event Group Date1
Date2 Days
....
43445 22123 10356 12-Dec-07
....
43448 10356 18-
Dec-07
....

The table is sorted on the "Item" column which contains distinct
values. Each row will have an "Event" value, unless (like this
example) it has a "Group" value, in which case only one of the grouped
Items will have an Event value. The row with the Event value will
always have a Date1 value. The Date2 value is always present, but
with Group-ed Items, it will not always appear on the same row as the
Date1 value.

What I need to do is put a formula in the "Days" column that subtracts
"Date1" from "Date2". For ungrouped Items, there's no problem. But
for grouped Items, I need to return Date1 from the only other row in
the table with a matching "Group" number.

Is this possible without VBA? I'd sure appreciate your ideas on this!

Thanks,
Terry
 
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
lookup question Jonathan Horvath Excel Worksheet Functions 8 July 9th 08 07:10 AM
LOOKUP question Bob S Excel Worksheet Functions 1 January 12th 06 01:23 PM
Pivot table doing a lookup without using the lookup function? NGASGELI Excel Discussion (Misc queries) 0 August 2nd 05 05:08 AM
Lookup question Ntisch Excel Discussion (Misc queries) 4 June 27th 05 07:00 AM
Lookup Question Mackay 1979 Excel Worksheet Functions 2 February 19th 05 01:11 PM


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