Return the value based on the another cells content within that row?

Tonyd789

Board Regular
Joined
Feb 6, 2011
Messages
89
Hi All

I'm finding a solution to this problem of mine some what tricky! Hopefully someone a lot smarter than me will have an answer.

I have a spreadsheet that records accidents for multiple sites, 1 row = a new accident

Along the row it has a date of the accident in column B, further along in column N it has the site, I'm only interested in 1 particular site, "Pioneer Point".

So i need a formula to return the last accident date, but only if the site is Pioneer point.

I'm trying to have a # days since last accident, but only for this site.

Many thanks for your time and help!
 

Excel Facts

What did Pito Salas invent?
Pito Salas, working for Lotus, popularized what would become to be pivot tables. It was released as Lotus Improv in 1989.
=MAX(IF(N1:N1000="Pioneer Point",B1:B1000)
Array formula, use Ctrl-Shift-Enter

Array formulas are slow, it is not advisable to have too many of them in a spreadsheet.
 
Upvote 0

Forum statistics

Threads
1,213,515
Messages
6,114,080
Members
448,548
Latest member
harryls

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