IF with a Sequence to generate numerical text - Stop Incrementing

WhatTheF

New Member
Joined
Feb 25, 2025
Messages
19
Office Version
  1. 2021
Platform
  1. Windows
I have an "IF" formula that I'm attempting to use to generate the same number over and over if there's any data in the rows of a single column. I've got the formula "working," however, it keep incrementing the number. I need it to input the actual number in the formula, though. My formula needs to input the number in the number of rows indicated in A1. I need to do this without dragging down the formula.

Thank you for your help!

Here's where I'm at:

Book3
ABCD
111
2
3UNKNOWN29.165745
4UNKNOWN30.165745
5UNKNOWN31.165745
6UNKNOWN32.165745
7UNKNOWN33.165745
8UNKNOWN34.165745
9UNKNOWN35.165745
10UNKNOWN36.165745
11UNKNOWN37.165745
12UNKNOWN38.165745
13UNKNOWN39.165745
14
Sheet2
Cell Formulas
RangeFormula
C3:C13C3=IF(SEQUENCE(A1),"UNKNOWN")
D3:D13D3=IF(C3<>"",(SEQUENCE(A1,1,"29.165745")),"")
Dynamic array formulas.
 
How about
Excel Formula:
=SEQUENCE(A1,,"29.165745",0)
 
Upvote 0

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