Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 124
Default Formula for historic pay rate

I have three columns of data Name, Date and Salary and a list of historic pay
days; I need a formula to look down these three columns, find the person in
Name and within their list of dates find the correct pay.

This is an example:
Name Date Salary
Brown 01/Jan/00 1000
Brown 01/Mar/01 1500
Brown 05/Jun/03 2000
Black 01/May/05 2500
Black 01/Sep/06 3000

If the pay date is 01/Oct/02 and the employee is Brown, I need a formula to
find Brown and then establish his pay rate which would be 1500.

I hope this is clear!

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 10,593
Default Formula for historic pay rate

=INDEX(C2:C20,MAX(IF((A2:A20="Brown")*(B2:B20<=--"2002-10-01"),ROW(C2:C20)-M
IN(ROW(C2:C20))+1)))

which is an array formula, it should be committed with Ctrl-Shift-Enter, not
just Enter.

--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)

"Charles" wrote in message
...
I have three columns of data Name, Date and Salary and a list of historic

pay
days; I need a formula to look down these three columns, find the person

in
Name and within their list of dates find the correct pay.

This is an example:
Name Date Salary
Brown 01/Jan/00 1000
Brown 01/Mar/01 1500
Brown 05/Jun/03 2000
Black 01/May/05 2500
Black 01/Sep/06 3000

If the pay date is 01/Oct/02 and the employee is Brown, I need a formula

to
find Brown and then establish his pay rate which would be 1500.

I hope this is clear!



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
Retrieving historic web data automatically Steve Berebitsky Excel Discussion (Misc queries) 2 June 30th 11 02:09 PM
Tracking Historic Data Ruth Excel Discussion (Misc queries) 4 May 7th 10 04:08 PM
Entering historic dates Terry Bennett Excel Worksheet Functions 6 June 29th 06 05:46 PM
Real RATE of return using =RATE illusive, inflation adjusted inflo Pro - Land Excel Worksheet Functions 4 November 1st 05 03:06 AM
Hello, I download historic data from yahoo. Ken Goodrich Excel Programming 0 July 2nd 04 04:06 AM


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