"Error In Value" message??

Sunshine8790

Board Regular
Joined
Jun 1, 2021
Messages
86
Office Version
  1. 365
Platform
  1. Windows
I can't share the original data since it contains personal info, so bear with me with the screenshots.
With the help of this board, I was able to successfully create a formula for the July table that worked in pulling the info from the July tab.
I tried to re-create it for August but it's giving me a Value error, even though I changed the columns to be correct for the August tab.
I'm aware that a Pivot table is a good option for something like this, but I prefer this method for visual appeal.

1722868640102.png


July Tab looks like this:
1722868816506.png

Total is formulated:
Excel Formula:
=IF(SUM(D2:R2)=0,"",SUM(D2:R2))
Rank is also formulated:
Excel Formula:
=IFERROR(RANK(S2,$S$2:S101,0),"")

I literally just duplicated the July tab, and re-named it - and changed and added onto the dates in row 1, so now the total is in column AI, and Rank in AJ - as opposed to S and T in the July column:
1722868920037.png


This is the formula, that worked, for my July leaderboard:
Excel Formula:
=TAKE(SORT(FILTER(CHOOSECOLS('July Steps (Practice)'!A2:T10021,20,2,19),'July Steps (Practice)'!A2:A10021="Salary")),A1)

And this is the formula that is giving me the value error for August:
Excel Formula:
=TAKE(SORT(FILTER(CHOOSECOLS('August Steps'!A2:AJ10022,36,2,35),'August Steps'!A2:A10021="Salary")),A1)

Any help appreciated.
 

Excel Facts

Difference between two dates
Secret function! Use =DATEDIF(A2,B2,"Y")&" years"&=DATEDIF(A2,B2,"YM")&" months"&=DATEDIF(A2,B2,"MD")&" days"
The ranges are not the same number of rows, hence the error.
 
Upvote 1
Solution
Easily done, unfortunately.

You're welcome & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,223,880
Messages
6,175,152
Members
452,615
Latest member
bogeys2birdies

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