Need a formula

RAJESH1960

Well-known Member
Joined
Mar 26, 2020
Messages
685
Office Version
  1. 2019
Platform
  1. Windows
Hello Guys

I am trying to get the values in column J with the help of a formula. Column J is the result entered manually which is as per the columns O to AH which have values and are not blank. I want to enter a column in column J where it will search the cells for values in O to AH and display the heading of that column.
Book1
ABCDEFGHIJKLMNOPQRSTUVWXYZAAABACADAEAFAGAH
1RateTotalICS512182851218282.52.5669914145121828
25100 2.52.51002.52.5
312200 12122001212
418300 27273002727
528400 56564005656
6550025  50025
71260072  60072
818700126  700126
928800224  800224
Sheet1
Cell Formulas
RangeFormula
K2:K9K2=SUM(O2:V2)
L2:L9L2=IF(SUM(AE2:AH2)=0,"",SUM(AE2:AH2))
M2:M9M2=IF(SUM(W2:AD2)/2=0,"",SUM(W2:AD2)/2)
N2:N9N2=IF(SUM(W2:AD2)/2=0,"",SUM(W2:AD2)/2)
 

Excel Facts

What is the last column in Excel?
Excel columns run from A to Z, AA to AZ, AAA to XFD. The last column is XFD.

jasonb75

Well-known Member
Joined
Dec 30, 2008
Messages
13,992
Office Version
  1. 365
Platform
  1. Windows
Excel Formula:
=IFERROR(INDEX(O$1:AH$1,MATCH(J2,O2:AH2,0)),"")
 

RAJESH1960

Well-known Member
Joined
Mar 26, 2020
Messages
685
Office Version
  1. 2019
Platform
  1. Windows
Hello Guys

I am trying to get the values in column J with the help of a formula. Column J is the result entered manually which is as per the columns O to AH which have values and are not blank. I want to enter a column in column J where it will search the cells for values in O to AH and display the heading of that column.
Book1
ABCDEFGHIJKLMNOPQRSTUVWXYZAAABACADAEAFAGAH
1RateTotalICS512182851218282.52.5669914145121828
25100 2.52.51002.52.5
312200 12122001212
418300 27273002727
528400 56564005656
6550025  50025
71260072  60072
818700126  700126
928800224  800224
Sheet1
Cell Formulas
RangeFormula
K2:K9K2=SUM(O2:V2)
L2:L9L2=IF(SUM(AE2:AH2)=0,"",SUM(AE2:AH2))
M2:M9M2=IF(SUM(W2:AD2)/2=0,"",SUM(W2:AD2)/2)
N2:N9N2=IF(SUM(W2:AD2)/2=0,"",SUM(W2:AD2)/2)
Jasonb, Did you get the correct solution.? Because when I enter your formula I am getting all zeroes with a message which reads as
"There are one or more circular references where a formula refers to its own cell either directly or indirectly.This might cause them to calculate incorrectly."
Book1
JKLMNOPQRSTUVWXYZAAABACADAEAFAGAH
1RateTotalICS512182851218282.52.5669914145121828
20100 2.52.51002.52.5
30200 12122001212
40300 27273002727
50400 56564005656
6050025  50025
7060072  60072
80700126  700126
90800224  800224
10
Query1
Cell Formulas
RangeFormula
J2:J9J2=IFERROR(INDEX(O$1:AH$1,MATCH(J2,O2:AH2,0)),"")
K2:K9K2=SUM(O2:V2)
L2:L9L2=IF(SUM(AE2:AH2)=0,"",SUM(AE2:AH2))
M2:M9M2=IF(SUM(W2:AD2)/2=0,"",SUM(W2:AD2)/2)
N2:N9N2=IF(SUM(W2:AD2)/2=0,"",SUM(W2:AD2)/2)
 

jasonb75

Well-known Member
Joined
Dec 30, 2008
Messages
13,992
Office Version
  1. 365
Platform
  1. Windows
Typo
Excel Formula:
=IFERROR(INDEX(O$1:AH$1,MATCH(K2,O2:AH2,0)),"")
 
Solution

Forum statistics

Threads
1,144,629
Messages
5,725,384
Members
422,622
Latest member
Paranthem

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
Top