offset and match? question

ebsmcb

New Member
Joined
Jun 21, 2023
Messages
8
Office Version
  1. 365
Platform
  1. MacOS
I'm trying to return the cell contents -1 column away from the first occurrence of a repeating text string... See below for an example. I've tried using various combinations of offset and match to no avail.
sample #data 1data 2data 3data 4data 5etc
1return contents of orange text here345na
na
2
return contents of orange text here
10
8nanana
3
return contents of orange text here
16nananana
etc
etc
 
The problem is the cells do not have na, they have #N/A which is a totally different thing.
Try
Excel Formula:
=TAKE(FILTER(F2:NA2,NOT(ISNA(F2:NA2))),,-1)
Yep! That totally worked. Many, many thanks.
 
Upvote 0

Excel Facts

How to total the visible cells?
From the first blank cell below a filtered data set, press Alt+=. Instead of SUM, you will get SUBTOTAL(9,)
Glad we could help & thanks for the feedback.
 
Upvote 0
This is a weird follow-up question... Is there a reason why the formula above (specifically the 'filter' command) would work on an iOS operating system, but not a PC (Windows v10 enterprise)? We keep getting an error code that says "that function isn't valid" and it highlights the 'filter' function in the formula.
 
Upvote 0
That's because either you are not using 365 on the PC, or it 's not fully updated.
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,181
Members
453,022
Latest member
Mohamed Magdi Tawfiq Emam

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