• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

adding heading info

dgk

Member
Hi
trying to do a macro to add heading info to a column in the left of the main information
please see attached and note the highlighted item which i did manually
but i need VBA to do this automatically since im needing this for a few hundred records

Thanks
 

Attachments

  • example sheet.xlsx
    12.3 KB · Views: 3
dgk
Okay, You did those manually...
Is there any clear logic?
Seems that cells A2 & B2 are same, but other 'yellow cells' has different values.
How eg from ( cell B6) BBB-234 comes ( cells A3 ) ABC-124?
 
Sorry my mistake (because i dragged down...)
see corrected sheet
 

Attachments

  • example sheet_corrected.xlsx
    12.3 KB · Views: 2
dgk
Okay, You did those manually...
Is there any clear logic?
Seems that cells A2 & B2 are same, but other 'yellow cells' has different values.
How eg from ( cell B6) BBB-234 comes ( cells A3 ) ABC-123?
Now, all A-column cells (except header) are same.
How to know, how many ABC-123 should be there?
... or do You mark those as yellow in B-column?
 
column b has the heading (item number) and column d is null there and the rows below that have some details for that item number
column a is empty (i just did the first 2 items manually) i want column a to be filled with the appropriate item number
1 clue that might help is that the item number which is showing in column b has column d empty
 

Attachments

  • example sheet_corrected-2.xlsx
    12.3 KB · Views: 1
dgk
Something like this based Your the latest version
... if Your clue would read as rule.
 

Attachments

  • example sheet_corrected-2.xlsb
    17.7 KB · Views: 6
was there a macro on the attachment that you sent back ?
because i cant see it
sorry to be a pest....
just checking
 
Back
Top