Get Value From Report

LearnMeExcel

Well-known Member
Joined
Aug 11, 2009
Messages
746
Office Version
  1. 365
  2. 2021
Platform
  1. Windows
Hi All
i have this data

2010​
2011​
2012​
2013​
2014​
2015​
2016​
2017​
2018​
2019​
2020​
2021​
Jan
45,149.60​
76,249.86​
72,412.60​
23,409.26​
83,908.23​
82,724.74​
49,913.37​
70,728.86​
4,416.54​
61,071.23​
22,704.21​
76,804.66​
Feb
30,555.36​
73,104.39​
57,297.66​
89,688.13​
50,165.71​
60,077.21​
13,531.12​
49,570.29​
59,496.03​
8,921.62​
92,197.73​
67,460.36​
Mar
21,608.99​
36,339.27​
21,235.38​
52,418.65​
61,033.78​
50,561.46​
78,225.45​
31,191.93​
91,151.37​
91,178.09​
74,800.71​
80,748.89​
Apr
81,801.81​
35,501.58​
29,073.81​
45,339.68​
34,752.21​
23,995.73​
12,659.20​
4,947.22​
67,160.00​
55,131.82​
15,710.53​
15,579.69​
May
12,199.39​
78,509.38​
31,039.96​
77,098.36​
21,619.35​
32,470.22​
49,348.30​
65,940.48​
5,120.67​
36,043.77​
5,838.33​
92,043.66​
Jun
12,661.03​
45,782.26​
21,403.17​
51,664.34​
54,511.89​
94,633.87​
12,896.98​
93,584.13​
12,803.14​
63,584.26​
80,878.97​
35,968.93​
Jul
65,555.15​
97,417.43​
54,882.24​
44,430.13​
36,346.93​
66,670.34​
78,241.86​
65,785.69​
28,351.80​
29,499.59​
91,120.24​
79,486.58​
Aug
90,536.96​
98,957.46​
44,090.10​
66,568.31​
2,656.73​
87,136.34​
49,877.47​
74,783.41​
57,351.77​
38,779.90​
57,660.81​
66,435.26​
Sep
12,839.83​
91,225.23​
48,399.98​
54,662.50​
6,512.15​
20,346.65​
75,301.21​
67,279.38​
79,972.44​
81,113.93​
12,086.08​
35,788.94​
Oct
30,006.08​
67,379.42​
64,291.48​
24,467.70​
98,809.45​
68,517.80​
67,606.99​
69,920.49​
80,764.32​
88,669.03​
20,104.29​
23,344.84​
Nov
94,846.19​
55,164.55​
55,159.90​
73,427.91​
66,821.75​
44,138.21​
14,348.50​
71,831.44​
86,411.27​
32,776.46​
80,330.05​
82,913.78​
Dec
61,213.79​
82,239.09​
54,829.66​
19,752.35​
86,381.06​
40,036.52​
11,423.66​
3,042.42​
37,248.81​
47,619.12​
88,888.41​
85,887.80​

in range A2:M14
and i get the highest Sales From This Table by Function Large

highest sales​
Year​
Month​
98,957.46​
98,809.45​
97,417.43​
94,846.19​
94,633.87​
93,584.13​
my Question
how i can get the name of month and year From Each one of this Values
the result for first line
98957.46 Yeas is 2011 Month Aug

i need formula to do that without Changing Data layout
 

Excel Facts

When they said...
When they said you are going to "Excel at life", they meant you "will be doing Excel your whole life".
What version of Excel are you using?

I suggest that you update your Account details (or click your user name at the top right of the forum) so helpers always know what Excel version(s) & platform(s) you are using as the best solution often varies by version. (Don’t forget to scroll down & ‘Save’)
 
Upvote 0
What version of Excel are you using?

I suggest that you update your Account details (or click your user name at the top right of the forum) so helpers always know what Excel version(s) & platform(s) you are using as the best solution often varies by version. (Don’t forget to scroll down & ‘Save’)
Thank you
i updated it
 
Upvote 0
Thanks for that.
How about
+Fluff 1.xlsm
ABCDEFGHIJKLMNOPQ
1201020112012201320142015201620172018201920202021LargeMonthYear
2Jan45,149.6076,249.8672,412.6023,409.2683,908.2382,724.7449,913.3770,728.864,416.5461,071.2322,704.2176,804.6698957.46Aug2011
3Feb30,555.3673,104.3957,297.6689,688.1350,165.7160,077.2113,531.1249,570.2959,496.038,921.6292,197.7367,460.3698809.45Oct2014
4Mar21,608.9936,339.2721,235.3852,418.6561,033.7850,561.4678,225.4531,191.9391,151.3791,178.0974,800.7180,748.8997417.43Jul2011
5Apr81,801.8135,501.5829,073.8145,339.6834,752.2123,995.7312,659.204,947.2267,160.0055,131.8215,710.5315,579.6994846.19Nov2010
6May12,199.3978,509.3831,039.9677,098.3621,619.3532,470.2249,348.3065,940.485,120.6736,043.775,838.3392,043.6694633.87Jun2015
7Jun12,661.0345,782.2621,403.1751,664.3454,511.8994,633.8712,896.9893,584.1312,803.1463,584.2680,878.9735,968.9393584.13Jun2017
8Jul65,555.1597,417.4354,882.2444,430.1336,346.9366,670.3478,241.8665,785.6928,351.8029,499.5991,120.2479,486.58
9Aug90,536.9698,957.4644,090.1066,568.312,656.7387,136.3449,877.4774,783.4157,351.7738,779.9057,660.8166,435.26
10Sep12,839.8391,225.2348,399.9854,662.506,512.1520,346.6575,301.2167,279.3879,972.4481,113.9312,086.0835,788.94
11Oct30,006.0867,379.4264,291.4824,467.7098,809.4568,517.8067,606.9969,920.4980,764.3288,669.0320,104.2923,344.84
12Nov94,846.1955,164.5555,159.9073,427.9166,821.7544,138.2114,348.5071,831.4486,411.2732,776.4680,330.0582,913.78
13Dec61,213.7982,239.0954,829.6619,752.3586,381.0640,036.5211,423.663,042.4237,248.8147,619.1288,888.4185,887.80
14
15
Main
Cell Formulas
RangeFormula
O2:O7O2=LARGE(B2:M13,SEQUENCE(6))
P2:P7P2=INDEX($A$2:$A$13,AGGREGATE(15,6,(ROW($A$2:$A$13)-ROW($A$2)+1)/($B$2:$M$13=O2),1))
Q2:Q7Q2=TEXTJOIN("",,IF(($A$2:$A$13=P2)*($B$2:$M$13=O2),$B$1:$M$1,""))
Dynamic array formulas.
 
Upvote 0
wow
thank you Fluff, amazing!
but this formula only for new version of excel, not for old one if it is not Contains TextJoin Function, Right
 
Upvote 0
You're welcome & thanks for the feedback.
It will work with 2019 or newer.
 
Upvote 0
if we have Duplicate,
2010​
2011​
2012​
2013​
2014​
2015​
2016​
2017​
2018​
2019​
2020​
2021​
LargeMonthYearCorrect Result
Jan
99,999.00​
99,999.00​
72,412.60​
23,409.26​
83,908.23​
82,724.74​
49,913.37​
70,728.86​
4,416.54​
61,071.23​
22,704.21​
76,804.66​
99,999.00​
Jan20102011Jan
2010​
Feb
99,999.00​
73,104.39​
57,297.66​
89,688.13​
50,165.71​
60,077.21​
13,531.12​
49,570.29​
59,496.03​
8,921.62​
92,197.73​
67,460.36​
99,999.00​
Jan20102011Feb
2010​
Mar
21,608.99​
36,339.27​
21,235.38​
52,418.65​
61,033.78​
50,561.46​
78,225.45​
31,191.93​
91,151.37​
91,178.09​
74,800.71​
80,748.89​
99,999.00​
Jan20102011Jan
2011​
Apr
81,801.81​
35,501.58​
29,073.81​
45,339.68​
34,752.21​
23,995.73​
12,659.20​
4,947.22​
67,160.00​
55,131.82​
15,710.53​
15,579.69​
98,957.46​
Aug2011
May
12,199.39​
78,509.38​
31,039.96​
77,098.36​
21,619.35​
32,470.22​
49,348.30​
65,940.48​
5,120.67​
36,043.77​
5,838.33​
92,043.66​
98,809.45​
Oct2014
Jun
12,661.03​
45,782.26​
21,403.17​
51,664.34​
54,511.89​
94,633.87​
12,896.98​
93,584.13​
12,803.14​
63,584.26​
80,878.97​
35,968.93​
97,417.43​
Jul2011
Jul
65,555.15​
97,417.43​
54,882.24​
44,430.13​
36,346.93​
66,670.34​
78,241.86​
65,785.69​
28,351.80​
29,499.59​
91,120.24​
79,486.58​
Aug
90,536.96​
98,957.46​
44,090.10​
66,568.31​
2,656.73​
87,136.34​
49,877.47​
74,783.41​
57,351.77​
38,779.90​
57,660.81​
66,435.26​
Sep
12,839.83​
91,225.23​
48,399.98​
54,662.50​
6,512.15​
20,346.65​
75,301.21​
67,279.38​
79,972.44​
81,113.93​
12,086.08​
35,788.94​
Oct
30,006.08​
67,379.42​
64,291.48​
24,467.70​
98,809.45​
68,517.80​
67,606.99​
69,920.49​
80,764.32​
88,669.03​
20,104.29​
23,344.84​
Nov
94,846.19​
55,164.55​
55,159.90​
73,427.91​
66,821.75​
44,138.21​
14,348.50​
71,831.44​
86,411.27​
32,776.46​
80,330.05​
82,913.78​
Dec
61,213.79​
82,239.09​
54,829.66​
19,752.35​
86,381.06​
40,036.52​
11,423.66​
3,042.42​
37,248.81​
47,619.12​
88,888.41​
85,887.80​

the result by formula not Correct, can we solve it.
 
Upvote 0
Ok, how about
+Fluff 1.xlsm
ABCDEFGHIJKLMNOPQ
1201020112012201320142015201620172018201920202021LargeMonthYear
2Jan99,999.0099,999.0072,412.6023,409.2683,908.2382,724.7449,913.3770,728.864,416.5461,071.2322,704.2176,804.6699999.00Jan2010
3Feb99,999.0073,104.3957,297.6689,688.1350,165.7160,077.2113,531.1249,570.2959,496.038,921.6292,197.7367,460.3699999.00Jan2011
4Mar21,608.9936,339.2721,235.3852,418.6561,033.7850,561.4678,225.4531,191.9391,151.3791,178.0974,800.7180,748.8999999.00Feb2010
5Apr81,801.8135,501.5829,073.8145,339.6834,752.2123,995.7312,659.204,947.2267,160.0055,131.8215,710.5315,579.6998957.46Aug2011
6May12,199.3978,509.3831,039.9677,098.3621,619.3532,470.2249,348.3065,940.485,120.6736,043.775,838.3392,043.6698809.45Oct2014
7Jun12,661.0345,782.2621,403.1751,664.3454,511.8994,633.8712,896.9893,584.1312,803.1463,584.2680,878.9735,968.9397417.43Jul2011
8Jul65,555.1597,417.4354,882.2444,430.1336,346.9366,670.3478,241.8665,785.6928,351.8029,499.5991,120.2479,486.58
9Aug90,536.9698,957.4644,090.1066,568.312,656.7387,136.3449,877.4774,783.4157,351.7738,779.9057,660.8166,435.26
10Sep12,839.8391,225.2348,399.9854,662.506,512.1520,346.6575,301.2167,279.3879,972.4481,113.9312,086.0835,788.94
11Oct30,006.0867,379.4264,291.4824,467.7098,809.4568,517.8067,606.9969,920.4980,764.3288,669.0320,104.2923,344.84
12Nov94,846.1955,164.5555,159.9073,427.9166,821.7544,138.2114,348.5071,831.4486,411.2732,776.4680,330.0582,913.78
13Dec61,213.7982,239.0954,829.6619,752.3586,381.0640,036.5211,423.663,042.4237,248.8147,619.1288,888.4185,887.80
14
Main
Cell Formulas
RangeFormula
O2:O7O2=LARGE(B2:M13,SEQUENCE(6))
P2:P7P2=INDEX($A$2:$A$13,AGGREGATE(15,6,(ROW($A$2:$A$13)-ROW($A$2)+1)/($B$2:$M$13=O2),COUNTIFS(O$2:O2,O2)))
Q2:Q7Q2=INDEX($B$1:$M$1,AGGREGATE(15,6,(COLUMN($B$1:$M$1)-COLUMN($B$1)+1)/($A$2:$A$13=P2)/($B$2:$M$13=O2),COUNTIFS(P$2:P2,P2)))
Dynamic array formulas.
 
Upvote 0
Solution

Forum statistics

Threads
1,215,375
Messages
6,124,576
Members
449,173
Latest member
Kon123

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