Show last payment on worksheet by finding first negative number.

USAMax

Well-known Member
Joined
May 31, 2006
Messages
843
Office Version
  1. 365
Platform
  1. Windows
I am monitoring several accounts all with the header on row 10. In cell 7B I want to show the last payment in column E starting at row 11.

Once I know the row I will get the date from column A to put into cell 7C.

OFFSET has been working great for me and MAX has worked for most accounts but some accounts we have up to 50 transactions and others only a few. Here is what I have been using for some accounts.

=MAX(OFFSET($D$10,1,0):OFFSET($D$10,11,0))
 

Excel Facts

Format cells as date
Select range and press Ctrl+Shift+3 to format cells as date. (Shift 3 is the # sign which sort of looks like a small calendar).
You can use this to get the date in col A for the last row in E
Excel Formula:
=LOOKUP(2,1/(E11:E10000<>""),A11:A10000)
 
Upvote 0
Your written description and MAX(OFFSET formula seem to have nothing to do with your thread title which is to show "last payment on worksheet by finding first negative number".
If @Fluff's formula does not do what you want, please give some realistic sample data and the expected results with XL2BB and explain again in relation to the specific sample data.
 
Upvote 0
Glad we could help & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,215,334
Messages
6,124,321
Members
449,154
Latest member
pollardxlsm

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