English 中文(简体)
页: 1
原标题:Google Sheets Equation for Sequence: 1.1, 1.2, 1.3, 2.1, 2.2, 2.3, 3.1, etc

I m looking for a way to generate the following sequence: 1.1, 1.2, 1.3, 2.1, 2.2, 2.3, 3.1, 3.2, 3.3, 4.1, 4.2, 4.3, etc. Where the max number after the decimal is specified by the value in another cell, so for example could be updated to: 1.1, 1.2, 2.1, 2.2, 3.1, 3.2

我愿利用ARRAYFORMULA的功能,使其在一定数目的牢房中实现自动化。

I cannot figure out this out, any ideas? Must be Google Sheet and not Excel Thanks!

问题回答

尝试采用以下公式。

=REDUCE("Max Decimal From Cell",SEQUENCE(5),LAMBDA(a,x,VSTACK(a,MAP(SEQUENCE(E2),LAMBDA(t,x&"."&t)))))

Here SEQUENCE(5) is number before decimal place.

“在座的影像描述”/

你可以尝试这一公式:

=ARRAYFORMULA(
  ROUNDUP((SEQUENCE(A1*B1, 1, 1))/B1)&"."& 
  (MOD(SEQUENCE(A1*B1, 1, 0), B1) + 1)
)

Result sample





相关问题
How to use year counter google app script?

I need an urgent help i have data as follows in a google sheet i need to add a year counter to the column d as follows using google apps script

Google Spreadsheet multiple column filter using OR

I have a Google Spreadsheet with 3 columns that are either blank or have a value. I want to get the count of the number of rows that has A and either B or C populated. If I were writing a SQL query ...

Run Google Apps Script on Google-Spreadsheet event?

If I create a Google apps script, can I hook it up to Google spreadsheet to run based on an event, or must I manually invoke it? I don t know if Google Sheets supports any events. For example: a ...

How do I insert a row in to a Google spreadsheet using c#

I ve seen; Accessing Google Spreadsheets with C# using Google Data API and http://code.google.com/apis/spreadsheets/data/2.0/developers_guide_dotnet.html#CreatingRows However i m still having ...

using Zend_Gdata_Spreadsheets for public spreadsheets?

I have this code which is working, to load a Google Spreadsheet and load some data from it. If the spreadsheet in question is public, how do i modify the code to not require a username/password? $key=...

Programatically updating a Google spreadsheet

I ve got a pre-existing Google spreadsheet. Each month I update this document. I ve got a template workseet in the spreadseet that I d like to clone and then update. I d prefer to clone the ...

热门标签