There has to be a better way...

Mchllwoods

New Member
Joined
Feb 15, 2019
Messages
18
Office Version
  1. 365
Platform
  1. Windows
For weeks I've been trying to find a better way to make a Wind Rose Chart or a Spiral Bar Chart to keep track of my Achievements in Steam. I tried to ask AI-aided Formula Editor but it's either not working or I'm not asking the right questions.
I'm trying to find a better way to write the formula in cell D4 that does require such a long IFS argument, an additional Degree column in G4 and more dynamic. Also doesn't need additional Increment column in cell I4. If you have a better solution I'm all ears.

Link to excel file below:

I made dynamic arrays and data based on these videos below:
 

Excel Facts

What is the fastest way to copy a formula?
If A2:A50000 contain data. Enter a formula in B2. Select B2. Double-click the Fill Handle and Excel will shoot the formula down to B50000.
How about
Excel Formula:
=LAMBDA(target,LET(counts,ROWS(target),ranks,SEQUENCE(counts),start,360/counts,inc,IFERROR(VSTACK(start,start*DROP(ranks,1)),start),degree,SEQUENCE(360),IF(ISNUMBER(MATCH(degree,inc,0)),"",XLOOKUP(INT((degree-1)/start)+1,ranks,INDEX(target,,2)))))(A4#)
 
Upvote 1
How about
Excel Formula:
=LAMBDA(target,LET(counts,ROWS(target),ranks,SEQUENCE(counts),start,360/counts,inc,IFERROR(VSTACK(start,start*DROP(ranks,1)),start),degree,SEQUENCE(360),IF(ISNUMBER(MATCH(degree,inc,0)),"",XLOOKUP(INT((degree-1)/start)+1,ranks,INDEX(target,,2)))))(A4#)
That actually worked, thank u so very much!
 
Upvote 0
You're welcome & thanks for the feedback.
 
Upvote 0
Hey everyone! Hru? Just wanted to share a revised formula I made without extra LET arguments. Hopefully this will help others that might have the same issues I did.

=LAMBDA(target,LET(
numbers,SEQUENCE(360),
current,ROWS(target),
ranks,SEQUENCE(current),
increments,360/current*ranks,
degree,XLOOKUP(INT(numbers/(360/current)+1),ranks,INDEX(target,,2)),
IF(ISNUMBER(XMATCH(numbers,increments)),"",degree)))(Dashboard!A23#)
 
Upvote 0

Forum statistics

Threads
1,223,881
Messages
6,175,159
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