Find Value Formula

kayzdo114

New Member
Joined
Feb 18, 2024
Messages
1
Office Version
  1. 365
Platform
  1. Windows
I want to find value from another sheet that fits 3 conditions: sheet name equal column name that I want to find: Jan, Feb,..; Column I want to find value equal store code: 4201, 4204,... and row number 207


STORE CODESTORE NAMEJan Feb
4201New World Sai Gon Hotel
4204Dong Du store

Thank for your help!


Regards
 

Excel Facts

Ambidextrous Undo
Undo last command with Ctrl+Z or Alt+Backspace. If you use the Undo icon in the QAT, open the drop-down arrow to undo up to 100 steps.
Since I don't know how your sheets look like and where the cells are, I assume the following:

If this is your "main" sheet:
Book0004.xlsm
ABCDE
1STORE CODESTORE NAMEJanFeb
24201New World Sai Gon Hotel12341937
34204Dong Du store45674827
4
Main
Cell Formulas
RangeFormula
C2:D3C2= INDIRECT(C$1&"!R207C"&XMATCH($A2,INDIRECT(C$1&"!A1:D1"),0,1),FALSE)


And those are your monthly sheets:
Jan
Book0004.xlsm
ABCDE
14201420242034204
2021943234532674182
2031783294336714369
2041279264734954271
2051473291436744893
2061497234739814925
2071234234534564567
2081387247331494821
2091247249831974734
2101835243636714193
211
Jan


Feb
Book0004.xlsm
ABCDE
14201420242034204
2001937297132194567
2011497213439374129
2021289293132164321
2031732219432744921
2041927273436944932
2051357246835794680
2061342291431474532
2071937231439624827
2081736298436214319
209
Feb


You can go with the following formula and adjust it to match your data:
Sheet ="Jan", Store Code = 4201 and ROW = 207 => =INDIRECT(C1"!R207C"&XMATCH(A2,INDIRECT(C1"!A1:D1"),0,1),FALSE)

Change A2 to match your 1. condition (Store Code)
Change C1 to match your 2. condition (Sheet name)
Change A1:D1 to match the cells where your Store Code Header(s) is(are) located
 
Upvote 0

Forum statistics

Threads
1,215,078
Messages
6,122,997
Members
449,093
Latest member
masterms

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