Auto fill Numbers

srizki

Well-known Member
Joined
Jan 14, 2003
Messages
1,841
Office Version
  1. 365
Platform
  1. Windows
Can any one help me I need a formula, that fills numbers if the corresponding cell has a value. So if B3 has firs value A3 will fill 1, and B6 has second value A6 will fill 6, so one.
I knew this formula, it was =COUNTA formula.

Thanks
 

Excel Facts

Format cells as date
Select range and press Ctrl+Shift+3 to format cells as date. (Shift 3 is the # sign which sort of looks like a small calendar).
Do you mean perhaps?

=If(Isnumber(A1),row(A1),"") copied down.
 
Upvote 0
No, it was something like, if I enter any number or text in a cell say B8, A8 fills the serial number, and if I fill next in B12 A12 fills 2, in it, so it is like IF B8>"", FILL 1 OR LEVE IT BLANK. so on. It will leave cell blank if the corresponding cell is empty or increase the number by one.
 
Upvote 0
THANK YOU VERY MUCH,
This is one of my favourite formulas. I will not foget it again.
thanks again NBVC
 
Upvote 0

Forum statistics

Threads
1,214,801
Messages
6,121,644
Members
449,045
Latest member
Marcus05

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