auto fill in cell

ehsas

Board Regular
Joined
Sep 17, 2002
Messages
200
Looking to the below excel sheet can I have a macro where can fill the automatically in the empty cells.The macro need to put look at first cell from example E3 and paste same date to E4 and E5 and then stop pasting because there is different date in E6.Here it need to put the E6 date into E7 till E11 and so on.Please if any one could help as I have 1000 of rows which some date are empty and I need to fill them.Regads,
calculation2.xls
ABCDE
1INSTLAMT3698
2PAYMENTDATEXACTAMOUNT/MONTHNUMOFPYMTnextpdate
313-Mar-99PAYMNT7396225-Apr-99
414-Mar-99return00
515-Mar-99return00
629-Apr-99PAYMNT3698125-May-99
730-Apr-99return00
801-May-99return00
902-May-99return00
1003-May-99return00
1104-May-99return00
1211-Jul-99PAYMNT3698125-Jun-99
1312-Jul-99return00
1413-Jul-99return00
1514-Jul-99return00
1622-Jul-99PAYMNT3698125-Jul-99
Sheet2
 
1. Highlite the range of interest in column E
2. then EDIT|GOTO|blanks
3. then in the active cell enter = ; click on the cell above and then ENTER while holding the CTRL key

all the blanks will be filled in with entry above as reproduced in column G of my simulation

When I am doing edit/goto there is no blanks and number 3 is not clear.regards,
 
Upvote 0

Excel Facts

Shade all formula cells
To shade all formula cells: Home, Find & Select, Formulas to select all formulas. Then apply a light fill color.
In the sample data you posted, there were blanks in column E. The challenge was to fill them. If you no longer have blanks in col E, what do you have there?

Paddy
 
Upvote 0
In above way I have to highlight all the blank cell and then apply the criteria.I am looking for easiest way.Please help.Regards,
 
Upvote 0
This method is fine but time consuming I have the excel file which has 6000 rows and there is dates in between the rows which i need to manually select the ranges and then do the exercise and if you don't stop between next date then there is chance of errors of copying the last stop points.Please help if you know any other method.Regards,
 
Upvote 0

Forum statistics

Threads
1,225,424
Messages
6,184,915
Members
453,266
Latest member
acorncap

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