We’d like to remind Forumites to please avoid political debate on the Forum.

This is to keep it a safe and useful space for MoneySaving discussions. Threads that are – or become – political in nature may be removed in line with the Forum’s rules. Thank you for your understanding.

📨 Have you signed up to the Forum's new Email Digest yet? Get a selection of trending threads sent straight to your inbox daily, weekly or monthly!
The Forum now has a brand new text editor, adding a bunch of handy features to use when creating posts. Read more in our how-to guide

Calling all Excel Experts!

I have set up a spreadsheet which I need to update periodically.

There are several of the same spreadsheets, each for every employee - there are up to 5 fields that need updating.

On a few occasions I have forgotten to update one or two of the fields, which means that the employee has the wrong information. When I realised this I replaced the wrong sheet, but is there any way that I can set up excel to 'flag' which areas I need to update? I am happy to do something in VBA (I have basic knowledge) but would love it if there were an expert who had a basic programme that I could use?? or any other suggestions would be great...

Thanks in anticipation...

Comments

  • millwalll
    millwalll Posts: 912 Forumite
    Part of the Furniture Combo Breaker
    There are a few ways you could do it using vba

    you could do somthinkg like

    if range.A5.value = ""
    msgbox"add data"

    or if there was text in the field you could change the colour of the text

    not sure if that 100% correct as I am leaving java at the moment so head all over place but sure it somthing like that

    a good site for help is www.mrexcel.com
    Hi, we’ve had to remove your signature. If you’re not sure why please read the forum rules or email the forum team if you’re still unsure - MSE ForumTeam
  • GunJack
    GunJack Posts: 11,946 Forumite
    Part of the Furniture 10,000 Posts Name Dropper Photogenic
    How about conditionally formatting the cells you need to update, or how about using a vlookup to your main source data sheet ??
    ......Gettin' There, Wherever There is......

    I have a dodgy "i" key, so ignore spelling errors due to "i" issues, ...I blame Apple :D
  • isofa
    isofa Posts: 6,091 Forumite
    I assume you mean the cells contain older data, rather than being just empty?

    If they are empty until updated, then conditional formatting will be the easiest.

    Else I'd probably add a column called Date Updated, and then when the value is changed in the cell(s) in question, trigger a VBA script to update the Date Updated cell with today.

    Then you can use Conditional formatting to flag rows that haven't been updated for x days, or those that have dates older then older cells Date Updated values.
  • Lifeisbutadream
    Lifeisbutadream Posts: 13,102 Forumite
    isofa wrote: »
    I assume you mean the cells contain older data, rather than being just empty?

    If they are empty until updated, then conditional formatting will be the easiest.

    Else I'd probably add a column called Date Updated, and then when the value is changed in the cell(s) in question, trigger a VBA script to update the Date Updated cell with today.

    Then you can use Conditional formatting to flag rows that haven't been updated for x days, or those that have dates older then older cells Date Updated values.

    Yes I just copy the last form and then update the four or five cells.
  • sandra_nz
    sandra_nz Posts: 122 Forumite
    Part of the Furniture Combo Breaker
    Once thing I'd done in the past is use the Protection function (Format > Cells > Protection tab).

    So I make all the cells 'Locked' except the cells I want to change. I then select Protect Worksheet from the Tools > Protection menu.

    Once you've done this, you can use the Tab key to go through each of the unprotected cells. This makes it much easier to check which cells need to be updated, especially if it's only a few cells compared to the size of the worksheet.
  • espresso
    espresso Posts: 16,448 Forumite
    Part of the Furniture 10,000 Posts Combo Breaker
    You could create a macro to copy the last form and advance though the cells requiring input to be updated.
    :doh: Blue text on this forum usually signifies hyperlinks, so click on them!..:wall:
This discussion has been closed.
Meet your Ambassadors

🚀 Getting Started

Hi new member!

Our Getting Started Guide will help you get the most out of the Forum

Categories

  • All Categories
  • 353.5K Banking & Borrowing
  • 254.1K Reduce Debt & Boost Income
  • 455K Spending & Discounts
  • 246.6K Work, Benefits & Business
  • 602.9K Mortgages, Homes & Bills
  • 178K Life & Family
  • 260.5K Travel & Transport
  • 1.5M Hobbies & Leisure
  • 16K Discuss & Feedback
  • 37.7K Read-Only Boards

Is this how you want to be seen?

We see you are using a default avatar. It takes only a few seconds to pick a picture.