Auto Fill (within formula)

yitzymerm

New Member
Joined
Jul 7, 2022
Messages
14
Office Version
  1. 365
Platform
  1. Windows
I have the following formula on 1 cell =IF(J$6>2,J$5,"$0.00"), and I want to drag it down so that excel should auto fill just this part >2, that the cell below should be >3 and the one after >4 and so on, but instead when i drag it down excel copies everything the same as >2, and to change this manually each cell is very time consuming...

Thanks who ever can help.
 

Excel Facts

Get help while writing formula
Click the italics "fx" icon to the left of the formula bar to open the Functions Arguments dialog. Help is displayed for each argument.
Hi
Welcome to MrExcel.

Do you want it like??

=IF(J$6>2,J$5,"$0.00")
=IF(J$6>3,J$5,"$0.00")
=IF(J$6>4,J$5,"$0.00")
 
Upvote 0
Hi & welcome to MrExcel.
Is this what you mean?
Fluff.xlsm
IJ
50.5
60.55
70.5
80.5
9$0.00
10$0.00
11$0.00
Data Dump
Cell Formulas
RangeFormula
I6:I11I6=IF(J$6>ROWS(J$5:J6),J$5,"$0.00")
 
Upvote 0
Thanks guys for your help, took me some time to figure out your answer but realized afterwards it's because I started the table in middle the sheet so i had to change instead of 'rows' to 'values' and have one column of my table with numbers 1 and up....
 
Upvote 0
Glad we could help & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,214,983
Messages
6,122,592
Members
449,089
Latest member
Motoracer88

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