Excel Formula

chrono2483

Board Regular
Joined
Aug 23, 2014
Messages
164
Office Version
  1. 2016
Is there such a formula, that will search a column for a particular word or value - find the first occurance of it, then incorporate the offset formula to return values 3 cells to its left? Then, in another cell, a similar formula to look for the same work/value in the same column, but skip the first one, and return the values 3 cells to its left? Then again in another cell, a formula that would skip the first 2 occurances of the word/value and return the values 3 cells to its left?

in total, 3 formulas - skipping the word/value of the one before it.
 

Excel Facts

Copy PDF to Excel
Select data in PDF. Paste to Microsoft Word. Copy from Word and paste to Excel.
Hi, like this?

Excel 2013
ABCDEFGH
1word/valueother_1other_2result
2this2.5512.519this2.5193.5274.581
3this3.3863.527that7.4188.20710.749
4this4.7084.58125.1026.7339.57
525.8665.102
626.3076.733
7that7.6007.418
8that8.4068.207
929.7099.570
10that10.93710.749
chrono2483
Cell Formulas
RangeFormula
F2{=IF(COLUMNS($F2:F2)>COUNTIF($A:$A,$E2),"",INDEX($C:$C,SMALL(IF($A$2:$A$10=$E2,ROW(A$2:A$10)),COLUMNS($F2:F2))))}
Press CTRL+SHIFT+ENTER to enter array formulas.
 
Last edited:
Upvote 0
Hi Cyrilbrd,

My Sheet looks more like this:

[TABLE="class: grid, width: 500"]
<tbody>[TR="bgcolor: #efebe6"]
[TH][/TH]
[TH]A[/TH]
[TH]B[/TH]
[TH]C[/TH]
[TH]D[/TH]
[TH]E[/TH]
[TH]F[/TH]
[TH]G[/TH]
[TH]H
[/TH]
[TH]I
[/TH]
[TH]J
[/TH]
[TH][/TH]
[TH]K
[/TH]
[TH]L
[/TH]
[TH]M
[/TH]
[TH]N
[/TH]
[TH][/TH]
[TH][/TH]
[/TR]
[TR]
[TD="align: center"]1
[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD="align: right"][/TD]
[TD]
[/TD]
[TD="align: right"]Tim
[/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"]Jane
[/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[/TR]
[TR]
[TD="align: center"]2
[/TD]
[TD][/TD]
[TD="align: right"]1st SignOff
[/TD]
[TD="align: right"]2nd SignOff
[/TD]
[TD="align: right"]3rd SignOff
[/TD]
[TD="align: center"]
[/TD]
[TD="align: right"]Sch. From
[/TD]
[TD="align: right"]Sch. To
[/TD]
[TD="align: right"]Actual From
[/TD]
[TD="align: right"]Actual To
[/TD]
[TD="align: right"]Sch Activity
[/TD]
[TD="align: right"]Activity
[/TD]
[TD="align: right"]Sch. From
[/TD]
[TD="align: right"]Sch. To
[/TD]
[TD="align: right"]Actual From
[/TD]
[TD="align: right"]Actual To
[/TD]
[TD="align: right"]Sch Activity
[/TD]
[TD="align: right"]Activity
[/TD]
[/TR]
[TR]
[TD="align: center"]3[/TD]
[TD]Tim
[/TD]
[TD="align: right"]=H4
[/TD]
[TD="align: right"]=H6
[/TD]
[TD="align: right"]=H8
[/TD]
[TD="align: center"]
[/TD]
[TD="align: right"]1:45
[/TD]
[TD="align: right"]3:15
[/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"]Open
[/TD]
[TD="align: right"][/TD]
[TD="align: right"]11:00
[/TD]
[TD="align: right"]12:21
[/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"]Open
[/TD]
[TD="align: right"]
[/TD]
[/TR]
[TR]
[TD="align: center"]4[/TD]
[TD]Jane
[/TD]
[TD="align: right"]=H4
[/TD]
[TD="align: right"]=H6
[/TD]
[TD="align: right"]=H8
[/TD]
[TD="align: center"]
[/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"]3:53
[/TD]
[TD="align: right"]4:07
[/TD]
[TD="align: right"][/TD]
[TD="align: right"]SignOff
[/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"]1:08
[/TD]
[TD="align: right"]1:23
[/TD]
[TD="align: right"][/TD]
[TD="align: right"]SignOff
[/TD]
[/TR]
[TR]
[TD="align: center"]5[/TD]
[TD]Holly
[/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"]
[/TD]
[TD="align: right"]3:30
[/TD]
[TD="align: right"]5:00
[/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"]Open
[/TD]
[TD="align: right"]
[/TD]
[TD="align: right"]12:45
[/TD]
[TD="align: right"]2:15
[/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"]Open
[/TD]
[TD="align: right"]
[/TD]
[/TR]
[TR]
[TD="align: center"]6[/TD]
[TD]Bart
[/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"]
[/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"]6:58
[/TD]
[TD="align: right"]7:26
[/TD]
[TD="align: right"][/TD]
[TD="align: right"]SignOff
[/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"]4:31
[/TD]
[TD="align: right"]5:01
[/TD]
[TD="align: right"][/TD]
[TD="align: right"]SignOff
[/TD]
[/TR]
[TR]
[TD="align: center"]7[/TD]
[TD]John
[/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"]
[/TD]
[TD="align: right"]7:15
[/TD]
[TD="align: right"]9:45
[/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"]Open
[/TD]
[TD="align: right"]
[/TD]
[TD="align: right"]4:30
[/TD]
[TD="align: right"]6:35
[/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"]Open
[/TD]
[TD="align: right"]
[/TD]
[/TR]
[TR]
[TD="align: center"]8[/TD]
[TD]Peter
[/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"]
[/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"]8:30
[/TD]
[TD="align: right"]8:44
[/TD]
[TD="align: right"][/TD]
[TD="align: right"]SignOff
[/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"]5:56
[/TD]
[TD="align: right"]6:10
[/TD]
[TD="align: right"][/TD]
[TD="align: right"]SignOff
[/TD]
[/TR]
[TR]
[TD="align: center"]9[/TD]
[TD="align: right"]Robert
[/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"]
[/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"]6:35
[/TD]
[TD="align: right"]6:48
[/TD]
[TD="align: right"][/TD]
[TD="align: right"]SignOff
[/TD]
[/TR]
[TR]
[TD="align: center"]10[/TD]
[TD][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"]
[/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[/TR]
</tbody>[/TABLE]


I am intending to use the formulas in range B3:D9. The rows of data from Col F onwards may vary. While the columns will be in the same place/order, the data of rows can/will change. I want to be able to recognize the name in Col A, and search F1:N1 for the name. Once matched, search that range of data for the required info for B3:D9.

Thank you
 
Upvote 0

Forum statistics

Threads
1,223,785
Messages
6,174,539
Members
452,571
Latest member
MarExcelTips

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