Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 7
Default Incrementing cell addresses

I building a worksheet where I have 3 agents, each agent has its own set of
data as follows:
02/28/08
Name - # of payments - Hours
Mark 2 8.00
john 3 9.00
jim 4 6.00
02/29
Name - # of payments - Hours
Mark 2 8.00
john 3 9.00
jim 4 6.00

I want to use the above data to be linked to cells in the following format:
mark 02/28 02/29....etc
payments 2 2
Hours 3 3

So, as I am updating each agent daily, the same data is updated in a
horizontal fashion (by date). Also, since I have several agents and I want to
able to drag my formula thru the whole month, I would need to increment each
cell address by not 1 but by 5 (as I have in my example)..Can that be done?

--
EddieV
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Max Max is offline
external usenet poster
 
Posts: 9,221
Default Incrementing cell addresses

One play, illustrated in this sample:
http://www.freefilehosting.net/download/3cm4a
Extract transverse by name n date.xls

Source data as posted in cols A to C, 5 lines per block
Order of the names within each day's block is immaterial

With a DV to select the name in E2, dates listed in F2 across
Put in F3:
=IF(OR($E$2="",F$2=""),"",OFFSET(INDIRECT("A"&MATC H(F$2,$A:$A,0)),MATCH($E$2,OFFSET(INDIRECT("A"&MAT CH(F$2,$A:$A,0)),,,5),0)-1,ROWS($1:1),))
Copy F3 across/fill down to populate the table
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"LaRana!" wrote:
I building a worksheet where I have 3 agents, each agent has its own set of
data as follows:
02/28/08
Name - # of payments - Hours
Mark 2 8.00
john 3 9.00
jim 4 6.00
02/29
Name - # of payments - Hours
Mark 2 8.00
john 3 9.00
jim 4 6.00

I want to use the above data to be linked to cells in the following format:
mark 02/28 02/29....etc
payments 2 2
Hours 3 3

So, as I am updating each agent daily, the same data is updated in a
horizontal fashion (by date). Also, since I have several agents and I want to
able to drag my formula thru the whole month, I would need to increment each
cell address by not 1 but by 5 (as I have in my example)..Can that be done?

--
EddieV

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
Incrementing cell reference Paul Mugleston[_2_] Excel Discussion (Misc queries) 1 January 10th 08 04:06 PM
Incrementing cell reference in Lookup formula MartinW Excel Worksheet Functions 3 May 14th 07 01:55 PM
Dragging & incrementing cell values Terry Bennett Excel Worksheet Functions 6 April 9th 06 12:18 AM
incrementing mm/yy based on value in other cell George Excel Worksheet Functions 2 March 1st 06 03:41 AM
Incrementing Cell Numbers Lance W. Grimes Excel Discussion (Misc queries) 1 March 8th 05 07:51 PM


All times are GMT +1. The time now is 06:28 PM.

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"