Using the FIND and OFFSET functions, combined with the MATCH function in the one formula

gsdanger

Board Regular
Joined
Jul 12, 2010
Messages
88
Office Version
  1. 365
Platform
  1. Windows
Hi Guru’s

I need your assistance again…

I have a list of data, segregated into data ranges (1, 2, 3 etc…).

I select each data range by using the Match function (works well).

Within each data range, I want to find a specific word ("Overall"...common in all the data ranges) and then use this word as the starting point for using the OFFSET function to copy the next cell down into a blank cell.

I would like to have the functions of FIND and OFFSET combined into the existing MATCH function.
However, if this is not possible, then a combination of the FIND and OFFSET functions will be great

Any assistance would by much appreciated.
:)
Kind Regards…gsdanger
 

Excel Facts

Waterfall charts in Excel?
Office 365 customers have access to Waterfall charts since late 2016. They were added to Excel 2019.
Could you give us a small set of dummy sample data and the expected results with XL2BB so we have a better idea of what you have and what you are trying to achieve?
(If you have trouble with XL2BB, review the "XL2BB Icons greyed out" link in the 'Known XL2BB issues' section near the top of the XL2BB Instructions page linked above.)
 
Upvote 0
Hi Peter_SSs,
I have been having trouble with the XL2BB for years and still having trouble.
I managed to progress through to the XL2BB option and managed to follow the instructions for creating a mini sheet. The program indicated that the mini sheet was successfully copied to my clipboard....great!
However, I cannot upload the image as it tells me that the mini sheet is in the wrong format!
Stuck again!!!
Any suggestions please??
:(
 
Upvote 0
However, I cannot upload the image
There is no image to upload, just paste the clipboard into your post and then use the 'Preview' option to see what the mini sheet will look like.
When you first paste the clipboard into your post it would look something like below (though probably a fair bit bigger)
When you then Preview or Post your reply it will transform into a Mini Sheet.

[RANGE=rs:3|cs:1|w:24 12 13.xlsm|cls:xl2bb-210|s:Sheet3|tw:48][XR][XH][/XH][XH=w:48]A[/XH][/XR][XR][XH]1[/XH][XD=ch:12.75]1[/XD][/XR][XR][XH]2[/XH][XD=ch:12.75]2[/XD][/XR][XR][XH]3[/XH][XD=ch:12.75]3[/XD][/XR][/RANGE]
 
Upvote 0
There is no image to upload, just paste the clipboard into your post and then use the 'Preview' option to see what the mini sheet will look like.
When you first paste the clipboard into your post it would look something like below (though probably a fair bit bigger)
When you then Preview or Post your reply it will transform into a Mini Sheet.

[RANGE=rs:3|cs:1|w:24 12 13.xlsm|cls:xl2bb-210|s:Sheet3|tw:48][XR][XH][/XH][XH=w:48]A[/XH][/XR][XR][XH]1[/XH][XD=ch:12.75]1[/XD][/XR][XR][XH]2[/XH][XD=ch:12.75]2[/XD][/XR][XR][XH]3[/XH][XD=ch:12.75]3[/XD][/XR][/RANGE]
 
Upvote 0
Example.xlsx
ABCDEFGHIJKLM
1Result of Raw OFFSETData Block ValidationThe Confirmed Data BlockThe Data Range
2
3
4No1 Result12-34-56TRUE11
5No2 Result34-56-78FALSE Tom
6No3 Result45-67-89FALSE QUICK
7FALSE BROWN
8FALSE FOX
9No1. Combined Formula ResultFALSE Overall
10No2. Combined Formula ResultFALSE 12-34-56
11No3. Combined Formula ResultTRUE22
12FALSE ****
13FALSE OVER
14FALSE THE
15FALSE LAZY
16FALSE DOG
17FALSE Overall
18FALSE 34-56-78
19TRUE33
20FALSEHarry
21FALSEOVER
22FALSETHE
23FALSELAZY
24FALSEDOG
25FALSEOverall
26FALSE45-67-89
27FALSE
28
Sheet1
Cell Formulas
RangeFormula
C4C4=OFFSET(H9,1,0)
C5C5=OFFSET(H17,1,0)
C6C6=OFFSET(H25,1,0)
G4:G19G4=IF(F4=TRUE,H4,"")
F4:F27F4=IF(H4=1,TRUE,IF(H4=2,TRUE,IF(H4=3,TRUE)))


Hi Peter_SSs,
Hooray, I just managed to upload the sample spreadsheet, as requested.
What I am trying to achieve is to get the data immediately below the starting point word (Overall) to be placed in an empty cell so I can use this info for further analysis. Naturally, this spreadsheet is just a dummy example, as the data I will be using is very large.
The problem arose when the downloaded data I use from the web kept altering the number of rows in the page. I have been using the cell addresses in conjunction with the MATCH function to glean the data to another spreadsheet, for further analysis. However, when the row number changes, it makes my formulas irrelevant.
I thought that if I selected a constant word that is in all of the data ranges (the data ranges are always of differing row sizes) and then use the FIND and OFFSET functions for collecting this data, I would not have to rely on the actual cell references.
If you think there is another way I can do this (probably is??) please educate me.
Hopefully, you can assist me with this problem.

Kind Regards.....gsdanger
 
Upvote 0
Thanks for the XL2BB data. (y)
Is this what you are trying to do?

24 12 13.xlsm
BCH
4No1 Result12-34-561
5No2 Result34-56-78Tom
6No3 Result45-67-89QUICK
7BROWN
8FOX
9Overall
1012-34-56
112
12****
13OVER
14THE
15LAZY
16DOG
17Overall
1834-56-78
193
20Harry
21OVER
22THE
23LAZY
24DOG
25Overall
2645-67-89
27
28
29
30
31
Overall
Cell Formulas
RangeFormula
C4:C6C4=FILTER(H5:H30,H4:H29="Overall")
Dynamic array formulas.
 
Upvote 0
Solution
Hi Peter_SSs,
OMG!!
How on earth did you come up with this solution...How good have you done!!!:):):):):):)
I would not have even thought of this as a solution.
Thank you for saving me countless hours (or weeks) of hair pulling.
Thank you very much Peter_SSs.
I owe you a beer or two!!!...Once again, Thank you...

Kind Regards...gsdanger
 
Upvote 0

Forum statistics

Threads
1,224,737
Messages
6,180,657
Members
452,992
Latest member
TokugawaIesuma

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