+ Reply to Thread
Results 1 to 10 of 10

Cells not being Populated with exact same formula as previous working cells

  1. #1
    Registered User
    Join Date
    06-19-2008
    Posts
    34

    Cells not being Populated with exact same formula as previous working cells

    Hi so i have a pretty complex formula using if's and vlookup's to populate a calendar with x's for day a person is gone. however the last couple of people that are gone are not being marked on the calendar even though i use the exact same formula (except for cell numbers and such) for previous, working entries. Here is my formula

    Please Login or Register  to view this content.
    This is in Cell F51 of worksheet Calendar. A51 is the persons name "Raul Sanidad" F4 is the day number, the 4, O2 is the month number 6.

    The vlookup references Raul Sanidad and goes to the table with his name and dates away. the index 7 is the start date (6/4/2008) and 8 is the end date (6/20/2008).

    I cant post the workbook because it is too large, 800kb. Can anyone see an error right here that would cause the x not to appear in the said dates?
    Is there a way i can post my 800kb file so that it can be seen. the entire file is pretty much needed to see the entries that are working and the ones that arent.
    Thanks
    Danny

  2. #2
    Registered User
    Join Date
    04-18-2008
    Posts
    80
    You can Zip the file to make it smaller. Right click the file and send to Compressed Folder.

  3. #3
    Registered User
    Join Date
    06-19-2008
    Posts
    34

    Edit to include file

    Heres the files
    Attached Files Attached Files

  4. #4
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582
    Throughout your formula, you use this
    Please Login or Register  to view this content.
    whereas your table now extends to $J$10. Does that fix your problem (You can do a search and replace on $J$7)

    ChemistB

  5. #5
    Registered User
    Join Date
    06-19-2008
    Posts
    34

    Thanks

    ChemistB,
    THANK YOU SO MUCH. Ive been trying to find an error forever.
    Is there a way to make the referenced area grow as new elements to the table are added?

  6. #6
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582
    Yes, you can use defined names and Offset to create a dynamic range. Here's a link explaining them better than I would. http://www.contextures.com/xlNames01.html#Dynamic

    Once you name it, you'd use the name instead of that entire range so it makes things much simpler in more ways than one (and easier to understand if you name it wisely).
    I think the name for your range (which names your table starting at A2) would be
    Please Login or Register  to view this content.
    Assuming you do not have anything else in the A column besides this table. This will not work if you skip any lines between names in your background table.

    ChemistB

  7. #7
    Registered User
    Join Date
    06-19-2008
    Posts
    34
    Ill try that out when i get back from lunch
    when i made that first change now the month number doesnt change when i change the month.

  8. #8
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582
    Hmmm, not sure why your month would stop changing. Double check your comma's to make sure you didn't accidently erase something.

    That named range should be used to replace both Background!$A$2:$J$7 and Background!$A$2:$J$31.

    post your corrected spreadsheet if you can't find out what happened with the month.

    ChemistB

  9. #9
    Registered User
    Join Date
    06-19-2008
    Posts
    34
    ChemistB

    is there a way i can refresh my vlookup statements. I have noticed that when i go in and click at the end of my formula and press enter the month number changes to the proper number. the same happens for the x's
    thanks
    dlroo

  10. #10
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582
    Tools>Options> Calculation, make sure "Automatic" is checked off.

    ChemistB

+ 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