Hi,
How can I return the column number in a range if I know the value and row number?
For Example: My range is
Range: B6:BF59
Value: 12,567
Row# of the Value: 14
What is the formula to get the column number?
I tried below formula but no luck. Formula partially works but returns wrong value when changing selection in a slicer but.
SUMPRODUCT(('Source Data'!$B$7:$BF$59=LOOKUP(2,1/(1-ISBLANK('Source Data'!F7:F59)),'Source Data'!F7:F59))*(COLUMN('Source Data'!$B$7:$BF$59)-1))
Did anyone come across similar issue?
How can I return the column number in a range if I know the value and row number?
For Example: My range is
Range: B6:BF59
Value: 12,567
Row# of the Value: 14
What is the formula to get the column number?
I tried below formula but no luck. Formula partially works but returns wrong value when changing selection in a slicer but.
SUMPRODUCT(('Source Data'!$B$7:$BF$59=LOOKUP(2,1/(1-ISBLANK('Source Data'!F7:F59)),'Source Data'!F7:F59))*(COLUMN('Source Data'!$B$7:$BF$59)-1))
Did anyone come across similar issue?