Looking for VBA code to put values in Column A and B when Column C is Not Empty. Reason for looking for VBA code is that the data set is 362656 and when a formula is used, the Excel Workbook is crashing. Formula works fine but it is crashing the Excel Workbook or getting stuck.
For example, column C2:C4 (Sales Year column) are not empty (C2=1999, C3=2000 and C4=2001), the VBA code should put in A3= 1st S and A4= 1st S and leave A2 = 1st S since A2 has a value already. Also, the VBA code should put in B3= 01103 and B4= 01103 and leave B2 = 01103 since B2 has a value already. The VBA code should do this for column A2:A500,000 and
****Desired solution sample is in F2:G25
****VBA Code solution should put values in A2:B362656. Please write the VBA to go beyond 362656 rows in case additional data is entered.
See sample file.
Thanks
Bookmarks