+ Reply to Thread
Results 1 to 9 of 9

Changing to tables so my 2007 work book will work in 2010.

  1. #1
    Registered User
    Join Date
    12-20-2015
    Location
    Huntington Beach CA USA
    MS-Off Ver
    2007
    Posts
    5

    Changing to tables so my 2007 work book will work in 2010.

    Using data validation to vlookup and tried to replace this =IF(B23>0,VLOOKUP(B23,Data!$A$1164:$B$1365,2,0),0) with
    =IF(B22>0,VLOOKUP(B22,MATERIALS[[#Headers],[MATERIALS]],2,0),0)

    this is the table it is looking at

    MATERIALS CATEGORY PRICE
    18 Stakes $0.34
    24 Stakes $0.35
    30 Stakes $0.40
    36 Stakes $0.45
    40 Stakes $0.72
    2001 Concrete $82.50
    2003 Concrete $102.50
    2501 Concrete $85.00
    2503 Concrete $105.00
    3001 Concrete $87.50
    3003 Concrete $107.50
    3501 Concrete $90.00
    3503 Concrete $110.00
    4001 Concrete $92.50
    4003 Concrete $112.50
    4501 Concrete $95.00
    4503 Concrete $115.00
    3/4" Gravel Gravel $26.00
    Pea Gravel Pea Gravel $26.00


    Is my table made incorrectly maybe???


    Will attach file

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,048

    Re: Changing to tables so my 2007 work book will work in 2010.

    Hi, welcome to the forum

    You can still use regular cell refs in a table
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Registered User
    Join Date
    12-20-2015
    Location
    Huntington Beach CA USA
    MS-Off Ver
    2007
    Posts
    5

    Re: Changing to tables so my 2007 work book will work in 2010.

    Ok looks at the table header even though the data range is shown in formula??

    Got it never mind
    Last edited by ghammond2009; 12-20-2015 at 05:35 PM.

  4. #4
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    25,421

    Re: Changing to tables so my 2007 work book will work in 2010.

    Your file is a bit big - few people will be tempted to download it. Shorten the file, and then re-submit it.

    Pete

  5. #5
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,048

    Re: Changing to tables so my 2007 work book will work in 2010.

    I have just opened your file, and you have a bunch of circular reference errors in it. This is when a cell refers to itself in a calculation...=A1A1+1 kind of thing, or A1=B1+C1 but C1 = A1+B1

    I have tracked them down to the Data sheet, mainly in row 27...
    C27:E27 G27, J27, L27 and S27
    S24 also has the same error

    If you look at trhe bottom left corner, you will see that it tells you the cir ref error is there, and where to find it..although that can be a bit misleading sometimes. If you look at the cells I mentioned, you will see that they all refer to themselves

  6. #6
    Registered User
    Join Date
    12-20-2015
    Location
    Huntington Beach CA USA
    MS-Off Ver
    2007
    Posts
    5

    Smile Re: Solved thanks to all Changing to tables so my 2007 work book will work in 2010.

    Thank you Peter, that is something I have learned to ignore for years now.

    I am updating my workbook so it will work on Excel 2010 and I fixed that earlier today.

    Long story but thanks so very much.

    I also fixed all my drop down list to work and change all my formulas to find them.

    Now I think I can upgrade to at lease 2010 without to many problems.

    I do not know how to show this thread a solved but it is.

  7. #7
    Registered User
    Join Date
    12-20-2015
    Location
    Huntington Beach CA USA
    MS-Off Ver
    2007
    Posts
    5

    Re: Changing to tables so my 2007 work book will work in 2010.

    Yes Pete it is big but to much work to make it smaller sorry but my problem is fixed thanks anyway!!

  8. #8
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    25,421

    Re: Changing to tables so my 2007 work book will work in 2010.

    Okay, if that takes care of your original question, please select Thread Tools from the menu above your first post and mark this thread as SOLVED.

    Also, since you are relatively new to the forum, you might like to know that you can directly thank those who have helped you by clicking on the small "star" icon located in the lower left corner of a post that you have found to be helpful (not just in this thread - for any post that has helped you). This also adds to the reputation of the poster (the small green bars in the poster's profile).

    Pete

  9. #9
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,048

    Re: Changing to tables so my 2007 work book will work in 2010.

    Happy to help, thanks for the feedback

+ 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. VBA Code for populating cells from one Work Book A to another Work Book with condition
    By ray.kanata in forum Excel Programming / VBA / Macros
    Replies: 20
    Last Post: 06-22-2015, 03:46 PM
  2. entering a monthly changing work book name into a macro
    By Bren1987 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-07-2014, 01:02 PM
  3. Solver macro (2010) does not work in 2007
    By goldenaggregate in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-05-2012, 09:59 AM
  4. Create PDF files from multiple work sheets in a single work book
    By erprasannaa in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 09-29-2012, 03:42 AM
  5. Replies: 2
    Last Post: 06-20-2012, 05:10 AM
  6. Extract data into a master work book by accessing various input work sheets/workbooks
    By kammariarun in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 12-08-2011, 05:10 PM
  7. Replies: 4
    Last Post: 06-15-2011, 09:33 AM

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