IFERROR with OFFSET

ozbeachbum

Board Regular
Joined
Jun 3, 2015
Messages
161
Office Version
  1. 2021
Platform
  1. Windows
Hi,
I am endeavouring to bring the last amount from the last cell with an entry on a row, the following works as long as there is an entry on the row,
=OFFSET(BF75,0,MATCH(MAX(BF75:XFD75)+1,BF75:XFD75,1)-1)
However if there is no entry on the row I receive an #N/A message.
I thought the following would work,
=IFERROR(OFFSET(BF75,0,MATCH(MAX(BF75:XFD75)+1,BF75:XFD75,1)-1)),"")
but receive "You've entered to few arguments for this function".
Any assistance in correcting the formula would be greatly appreciated.
Cheers,
Dave.
 

Excel Facts

When they said...
When they said you are going to "Excel at life", they meant you "will be doing Excel your whole life".
It would be
Excel Formula:
=IFERROR(OFFSET(BF75,0,MATCH(MAX(BF75:XFD75)+1,BF75:XFD75,1)-1),"")

However, I would suggest using this non-volatile (& shorter) option to find the last number in the row
Excel Formula:
=IFNA(LOOKUP(9.9E+307,BF75:XFD75),"")
 
Upvote 0
Solution
It would be
Excel Formula:
=IFERROR(OFFSET(BF75,0,MATCH(MAX(BF75:XFD75)+1,BF75:XFD75,1)-1),"")

However, I would suggest using this non-volatile (& shorter) option to find the last number in the row
Excel Formula:
=IFNA(LOOKUP(9.9E+307,BF75:XFD75),"")
Thanks once again Peter, so helpful as always and I have taken your suggestion.
Will be down your way shortly, taking one of our grandsons on the steam train that will be running out of Coffs Harbour in July.
 
Upvote 0
You're welcome. Thanks for the follow-up. :)

(I have sent you a conversation message about your Coffs Harbour trip)
 
Upvote 0

Forum statistics

Threads
1,215,343
Messages
6,124,404
Members
449,156
Latest member
LSchleppi

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