+ Reply to Thread
Results 1 to 8 of 8

Is there way to update data based on alignment of certain cell data

  1. #1
    Registered User
    Join Date
    04-01-2020
    Location
    USA
    MS-Off Ver
    Office 365
    Posts
    49

    Is there way to update data based on alignment of certain cell data

    Ok, so I have a report that I need to update every few days and it takes hours. There has to be a better way. Not all of the info comes over correctly but the correct data is already on the spreadsheet from previous entries. Lets call this a badge report. When bringing over the new data to the badge report the new entries have the "badge number" aligned to the right. The old correct entries have the badge number centered. Is there way to have excel match the badge number and update other columns (in this case Group and Manager columns)?

    I attached a sample spreadsheet if that helps. There are thousands of these so it would be really helpful to come up with a better way. Please let me know if you have any questions as I may not have explained that right.

    Thank you
    Attached Files Attached Files

  2. #2
    Forum Guru
    Join Date
    08-15-2004
    Location
    Tokyo, Japan
    MS-Off Ver
    2013 O.365
    Posts
    22,525

    Re: Is there way to update data based on alignment of certain cell data

    Try
    Please Login or Register  to view this content.

  3. #3
    Forum Expert
    Join Date
    05-29-2020
    Location
    NH USA
    MS-Off Ver
    365
    Posts
    2,103

    Re: Is there way to update data based on alignment of certain cell data

    Try

    Please Login or Register  to view this content.

  4. #4
    Registered User
    Join Date
    04-01-2020
    Location
    USA
    MS-Off Ver
    Office 365
    Posts
    49

    Re: Is there way to update data based on alignment of certain cell data

    OMG, thank you so much! This worked! You saved me soooo much time. Thank you both for your replies. It works perfectly. I figured this was a total shot in the dark and almost didn't ask...so glad I did. Thank you, thank you, thank you!

  5. #5
    Forum Guru
    Join Date
    08-15-2004
    Location
    Tokyo, Japan
    MS-Off Ver
    2013 O.365
    Posts
    22,525

    Re: Is there way to update data based on alignment of certain cell data

    You are welcome.

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.

  6. #6
    Registered User
    Join Date
    04-01-2020
    Location
    USA
    MS-Off Ver
    Office 365
    Posts
    49

    Re: Is there way to update data based on alignment of certain cell data

    Hi Maniacb,

    Thank you again for this VBA code. I ended up using this one. It works great and I believe you set this up to match the badge number and update group (column E) and Manager (column F). I noticed that occasionally the names are a little different from time to time. Some include a middle initial, etc. Would you be able to update the VBA code to also update the Name (column D)? That would be really helpful

  7. #7
    Forum Expert
    Join Date
    05-29-2020
    Location
    NH USA
    MS-Off Ver
    365
    Posts
    2,103

    Re: Is there way to update data based on alignment of certain cell data

    Here is the update

    Please Login or Register  to view this content.

  8. #8
    Registered User
    Join Date
    04-01-2020
    Location
    USA
    MS-Off Ver
    Office 365
    Posts
    49

    Re: Is there way to update data based on alignment of certain cell data

    Awesome! It works great, thanks so much!

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] VBA to apply alignment based on cell data
    By slash1897 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 08-21-2019, 04:30 PM
  2. Is there a way to apply alignment based on cell data
    By slash1897 in forum Excel General
    Replies: 4
    Last Post: 08-21-2019, 01:03 PM
  3. [SOLVED] Update chart data based on answer in another cell
    By allwrighty in forum Excel Charting & Pivots
    Replies: 5
    Last Post: 12-23-2016, 02:31 PM
  4. [SOLVED] Auto Update data based from different cell
    By 23inzane10 in forum Excel Programming / VBA / Macros
    Replies: 14
    Last Post: 06-09-2016, 11:33 PM
  5. Enter and Update Data on One Cell based on Date
    By amrit02 in forum Excel General
    Replies: 3
    Last Post: 12-27-2015, 12:21 PM
  6. [SOLVED] Help with code to update cells based on another cell's data
    By V-Clan in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-02-2014, 11:13 AM
  7. Update certain Cell based on clicking one data validation box
    By bcn1988 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-20-2012, 02:37 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1