r/excel • • 14d ago

unsolved Sequenced numbers in parentheses

In one row can I do an increasing sequence (1/30) … (30/30) for example in the screen shot? No worries about the 100% on the left side, that is added daily.
Normally we type each cell individually so was just seeing if there is a better way

4 Upvotes

9 comments sorted by

2

u/Cinderhazed15 14d ago edited 14d ago

Is this based on information from somewhere else in the sheet (showing percent complete or something? ), or is this purely display text?

You could generate an array formula that takes the sequence in as input and concatenates the virtual string together as you wish it to appear. This is normally easier if you have a helper column, but it can be done (poking around to set up an example)

—-
=LET(max,10,BYROW(SEQUENCE(max),LAMBDA(numerator,CONCAT(“(“,numerator,”/“,max,”)”))))

This example defines a max value, generates an array(sequence) from 1 to max, uses that array to concatenate a string of (,row(numerator),/,max,)

1

u/Popular-Assistant581 14d ago

Purely display text

1

u/Popular-Assistant581 14d ago

Here is a screenshot of what I’m working with

4

u/HappierThan 1193 14d ago

You could use Custom Format and retain the values as numbers. '"100% ("0"/14)"

HINT: Look in Formula Bar above "J". You chose incorrect designation - 'Waiting on OP'.

3

u/Way2trivial 475 14d ago

="100% ("&SEQUENCE(7,2)&"/14)"