+ Reply to Thread
Results 1 to 2 of 2

Populating cells based on growing list of names.

Hybrid View

  1. #1
    Registered User
    Join Date
    01-17-2004
    Location
    Jersey
    Posts
    26

    Populating cells based on growing list of names.

    I have attached a workbook with 2 sheets. One sheet is a list of magazines that shows what magazines we have. Each magazine gets distributed around my office. When a person is done with it, they give it back to me and I choose someone else to give it to. The sheet has a grid of initials for each person and when I give them the magazine, I "x" out the box for that magazine under their initials.

    Some people don't want to receive certain magazines so the 2nd sheet is a grid where they choose what they want to receive. Is there a way that I could link the blank boxes from the sheet where they choose what they want to the magazine list and automatcially "x" out that magazine?

    To use a vlookup function would require me to type an equation in a box that I might have to populate later so i'm not sure if something in a module for that worksheet would be better.

    I hope I just made sense.
    Attached Files Attached Files
    Last edited by rxwillow; 04-18-2008 at 02:10 PM. Reason: Attached file

  2. #2
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464
    Quote Originally Posted by rxwillow
    I have attached a workbook with 2 sheets. One sheet is a list of magazines that shows what magazines we have. Each magazine gets distributed around my office. When a person is done with it, they give it back to me and I choose someone else to give it to. The sheet has a grid of initials for each person and when I give them the magazine, I "x" out the box for that magazine under their initials.

    Some people don't want to receive certain magazines so the 2nd sheet is a grid where they choose what they want to receive. Is there a way that I could link the blank boxes from the sheet where they choose what they want to the magazine list and automatcially "x" out that magazine?

    To use a vlookup function would require me to type an equation in a box that I might have to populate later so i'm not sure if something in a module for that worksheet would be better.

    I hope I just made sense.
    Hi,

    If the list of magazines wasn't changing, other than perhaps being extended rather than overwritten, then presumably you could use a simple IF() formula, to identify magazines that weren't wanted, since you could simply overtype the formula when the mag was issued.

    One solution would be to have a bit of VBA code which remembered where the magazines had been issued by temporarily copying the grid elsewhere, then populating the sheet with a new list of mags and filling in the grid with formulas, finally copying back the Xs, for any mags that had already been issued.

    That seems to me a bit OTT. You may find the Conditional Formatting approach is something you can work with. Add the following conditional format to E2 on the Magazine List sheet, and then copy E2 across and down. You should put this in the Formula Is box, and set the format pattern to say Red.

    What you'll see are red coloured cells where a mag is not required. The contents of the cell are irrelevant.

    =VLOOKUP($A2,Selections,COLUMN()-3,FALSE)<>"x"
    HTH

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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