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

Excel Can Read to You
Customize Quick Access Toolbar. From All Commands, add Speak Cells or Speak Cells on Enter to QAT. Select cells. Press Speak Cells.
=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,224,826
Messages
6,181,192
Members
453,021
Latest member
pingpong7117

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