Vlookup??

mcintoshmc

Active Member
Joined
Aug 10, 2007
Messages
277
I currently run a report on a weekly basis that will show all of our open positions. I then copy and paste that report into my spreadsheet, so I can run any vlookup to suits my needs.

Each week when copying and pasting the report into my sheet, I do not overwrite the previous data, I paste it at the bottom. The reason I do this, is because I don't want info for older/closed positions to go away, and this report is only for open positions.

The problem I am running into is that a position can be created one week, and in the course of time, certain details about the position can be changed. Although, I am recording the changes when pasting the report that week, the vlookup is not always picking up those changes.

If I were to add a column that reflects the date the info was run, is there a formula I can use other than a vlookup, that would pull the information from the most current date? The identifier is the requisition number.

To add: I occasionally remove duplicates, so that the sheet does not get to big, but when I do that, it removes the newer version and keeps the original.
 
Last edited:

Excel Facts

Lock one reference in a formula
Need 1 part of a formula to always point to the same range? use $ signs: $V$2:$Z$99 will always point to V2:Z99, even after copying
:warning: This is a simple solution but only works if your data is sorted from earliest in row2 to most recent in last row
It finds the last match in the range - so the one you want must be the last of its kind!

a LOOKUP formula to return the row number of the LAST match in column A for "cd"
=LOOKUP(2,1/(A:A="cd"),ROW(A:A))

which can be used with INDEX to return the value in column F corresponding to that match
=INDEX(F:F,LOOKUP(2,1/(A:A="cd"),ROW(A:A)))

If you are interested in understanding how it works here is an excellent tutorial on the LOOKUP function
 
Last edited:
Upvote 0

Forum statistics

Threads
1,223,227
Messages
6,170,848
Members
452,361
Latest member
d3ad3y3

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top