Need help achieving an end.

BEDE

New Member
Joined
Mar 29, 2024
Messages
9
Office Version
  1. 365
Platform
  1. Windows
Hello,
I need some help achiving an end but can't wrap my head around this one.

Some background: The unique column is just that. A column of all the unique values from column C. However, it is too big, I just left it out. The other two columns are spilled, they are the ranges for the unique. For example, the first unique 0.174 starts at cell 1 it's range is 48, the next unique .17407 starts at 49 and on it goes.

production.xlsb
DEF
41197
5UNIQUESSTART POINTRANGE
60.174148
70.174074950
80.185999948
90.1889314772
100.1933921934
110.2387225334
120.236828729
130.2342431660
140.2324837661
150.224443754
160.229849157
170.2264854858
180.2254260667
190.2324567367
200.2322974053
210.2320279360
220.2341985354
230.2384690747
240.2398595453
250.24251100747
260.24264105451
270.24275110551
280.24198115642
Sheet1
Cell Formulas
RangeFormula
F4F4=SUM(F6#)
D6:D28D6='CHAIN (5)'!Z12#
E6:F28E6='CHAIN (5)'!G12#
Dynamic array formulas.


My question is how can I get back from the "unique" column to the to original again? I've have had some success with creating a sequence and using the map function to map to it, also some partial success with transposing uniques with &sequence but nothing seems to pan, I always run into bycol or byrow mess I can't get out off.
 

Excel Facts

What does custom number format of ;;; mean?
Three semi-colons will hide the value in the cell. Although most people use white font instead.
Hi & welcome to MrExcel.
How about
Excel Formula:
=TOCOL(IF(SEQUENCE(,MAX(F6#))<=F6#,D6#,1/0),2)
 
Upvote 0
Solution
I've had some partial success with different combinations of the below

INDEX(D6#,SEQUENCE(SUM(F6#),,,1)/F6,) the ranges are obviously off but I can't get it to range by row.

TRANSPOSE(D6#)&SEQUENCE(F6#,ROWS(F6#),,0)

I can create to create a board then use map but I can't finish it.
SEQUENCE(MAX(F6#),COUNT(D6#),,0)
to get range.
TRANSPOSE(F6#)-BYCOL(SEQUENCE(MAX(F6#),COUNT(D6#),,0),LAMBDA(col,COUNT(col)))
 
Upvote 0
Question? so if less than max column range then unique else 1/0? I didn't know you could do that? What? 1/0?
 
Upvote 0
The 1/0 will simply return a #DIV/0! error which the tocol will then ignore.
 
Upvote 0
The 1/0 will simply return a #DIV/0! error which the tocol will then ignore.
Thank you very much for all your help. 🙏 I'm not sure how to close thread or even edit but this is an amazing forum thanks again.
 
Upvote 0
You're welcome & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,215,327
Messages
6,124,292
Members
449,149
Latest member
mwdbActuary

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