Jump to content

Recommended Posts

Posted

Imagine I have the following table

 

date,details

1/3/14,car

1/4/14,tv

1/5/14,water

1/5/14,car

1/6/14,tv

 

If I wanted to show the date the last entry for each category was in a separate sheet can I do this?

 

i.e. for TV it would be 1/6 and car would be 1/5, obviously this would change but is there a formula to show the last date of the details column which will be always the same line of text?

Posted

I *think* vlookup/lookup should be able to help here - might need an intermediate spreadsheet that helps it work things out.

 

It's a while since I used lookups though.

Posted
Assuming all the dates are in the past, if you add an additional column which contains a concatenation of the item and a numeric representation of the date and you sort the data, you can then use vlookup to get to the closest value of the item + the numeric value of now which should be the latest.
Posted
Imagine I have the following table

 

date,details

1/3/14,car

1/4/14,tv

1/5/14,water

1/5/14,car

1/6/14,tv

 

If I wanted to show the date the last entry for each category was in a separate sheet can I do this?

 

i.e. for TV it would be 1/6 and car would be 1/5, obviously this would change but is there a formula to show the last date of the details column which will be always the same line of text?

 

I would do this with a pivot table, used the "details" column as the rows in the table and put the date in the values field. You can then change the values field to show the maximum value only and format it to date format.

Posted
Cheers for the replies, not had chance to look yet but a pivot table was what kept cropping up, will do some reading up on them as never used them before.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...