+ Reply to Thread
Results 1 to 21 of 21

indirect formula help!!!!

  1. #1
    Registered User
    Join Date
    08-07-2013
    Location
    Los Angeles, CA
    MS-Off Ver
    Excel 2010
    Posts
    38

    indirect formula help!!!!

    I am a fairly advanced excel user. However not a pro! Here is what is going on... I have a summary sheet, where i select a drop down. This drop down changes what sheet to pull from.

    I am linking to the correct cell by using this: =INDIRECT("'"&$A$2&"'!"&CELL("address",B9))

    It works great! however, everytime i insert a row on that summary tab this will happen: =INDIRECT("'"&$A$2&"'!"&CELL("address",B10))

    So the cell references will automatically change as well. The absolute $B$9 stuff will not work. It continues to adjust the formula, based on how many columns I add.

    Any thoughts??

  2. #2
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: indirect formula help!!!!

    try ADDRESS(9,2,1,1) instead CELL(...)
    if relative: ADDRESS(9,2,4,1)
    it will be locked on B9 of another sheet and will not change to B10 or something. This is "hardcoded" addresss of the cell.
    Last edited by sandy666; 02-14-2017 at 07:19 PM. Reason: typo

  3. #3
    Registered User
    Join Date
    08-07-2013
    Location
    Los Angeles, CA
    MS-Off Ver
    Excel 2010
    Posts
    38

    Re: indirect formula help!!!!

    Thanks Sandy! Wish i had you next to me... now I am doing what you said and it is dragging the same number across and down.

    I probably confused you! The b9 should change when i drag up or down, just no "shift" when I add a row or column, does that make sense?

  4. #4
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: indirect formula help!!!!

    Something for something...
    If you use A1 style and add/delete row your B9 will change but feel free to drag over and over
    If you use R1C1 style and add/delete row your B9 will stay as B9 but it will not change, like I said it is "hardcoded" address of the cell.

    dragging "cell" is like add or delete row/column.

    so it's up to you what you will do
    Last edited by sandy666; 02-14-2017 at 07:53 PM. Reason: typo

  5. #5
    Registered User
    Join Date
    08-07-2013
    Location
    Los Angeles, CA
    MS-Off Ver
    Excel 2010
    Posts
    38

    Re: indirect formula help!!!!

    Here i added a sample, you will see the formula that i used to work with the drop down. I have

  6. #6
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: indirect formula help!!!!

    You added nothing



    Click on GO ADVANCED and then scroll down to Manage Attachments to open the upload window.
    If link is not from FORUM server you have to wait until someone will want to watch the file from an external server.

  7. #7
    Registered User
    Join Date
    08-07-2013
    Location
    Los Angeles, CA
    MS-Off Ver
    Excel 2010
    Posts
    38

    Re: indirect formula help!!!!

    did you get it??
    Attached Files Attached Files

  8. #8
    Forum Guru
    Join Date
    02-27-2016
    Location
    Vietnam
    MS-Off Ver
    2016
    Posts
    5,900

    Re: indirect formula help!!!!

    Try this ...

    =VLOOKUP($A9,INDIRECT("'"&$A$2&"'!A8:AK1000"),COLUMN(),0)

  9. #9
    Registered User
    Join Date
    08-07-2013
    Location
    Los Angeles, CA
    MS-Off Ver
    Excel 2010
    Posts
    38

    Re: indirect formula help!!!!

    Thank you however it doesnt work because there are duplicates in which I need to keep there which is why i need to link it directly to the cell. Thank you though!

  10. #10
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: indirect formula help!!!!

    IC, I will look at this ...
    But in this case if you want value from B9 and use DV for changing Sheets and add row(s) over cells you need to look for VBA solution.
    If you want you can play with OFFSET() or INDEX() but both of them return value not address but you need free not locked address (B9) inside INDIRECT.

  11. #11
    Registered User
    Join Date
    08-07-2013
    Location
    Los Angeles, CA
    MS-Off Ver
    Excel 2010
    Posts
    38

    Re: indirect formula help!!!!

    ahhh! I feel like this is so close, and that it is something so silly! THanks for your patience.

  12. #12
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: indirect formula help!!!!

    You are welcome

  13. #13
    Forum Guru
    Join Date
    02-27-2016
    Location
    Vietnam
    MS-Off Ver
    2016
    Posts
    5,900

    Re: indirect formula help!!!!

    Maybe?

    =INDIRECT("'"&$A$2&"'!R"&CELL("row",'Inside Sales'!B9)&"C"&COLUMN(),0)

  14. #14
    Registered User
    Join Date
    08-07-2013
    Location
    Los Angeles, CA
    MS-Off Ver
    Excel 2010
    Posts
    38

    Re: indirect formula help!!!!

    Thank you Phuo, again didnt work!

  15. #15
    Registered User
    Join Date
    08-07-2013
    Location
    Los Angeles, CA
    MS-Off Ver
    Excel 2010
    Posts
    38

    Re: indirect formula help!!!!

    CELL("address",B9))

    it is for sure a problem with this part, just do not know a solution

  16. #16
    Forum Guru
    Join Date
    02-27-2016
    Location
    Vietnam
    MS-Off Ver
    2016
    Posts
    5,900

    Re: indirect formula help!!!!

    See attached...
    Attached Files Attached Files

  17. #17
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: indirect formula help!!!!

    Phuocam, nice R1C1

  18. #18
    Registered User
    Join Date
    08-07-2013
    Location
    Los Angeles, CA
    MS-Off Ver
    Excel 2010
    Posts
    38

    Re: indirect formula help!!!!

    Wow, great job! is there a way to lock in the columns as well?? adding rows it works fine, adding a column shifts

    Thank you!

  19. #19
    Forum Guru
    Join Date
    02-27-2016
    Location
    Vietnam
    MS-Off Ver
    2016
    Posts
    5,900

    Re: indirect formula help!!!!

    =INDIRECT("'"&$B$2&"'!R"&CELL("row",'Inside Sales'!B9)&"C"&CELL("col",'Inside Sales'!B9),0)

    Or:

    =IF(C2="Inside Sales",'Inside Sales'!B9,'Field Sales'!B9)

  20. #20
    Registered User
    Join Date
    08-07-2013
    Location
    Los Angeles, CA
    MS-Off Ver
    Excel 2010
    Posts
    38

    Re: indirect formula help!!!!

    bravo! I used the first one.. could you explain the formula so i understand it?? this was a lifesaver thank you so much...

  21. #21
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: indirect formula help!!!!

    If the problem is solved
    - it's always a good practice to show respect to the person(s) who have helped you
    - is a click on the Add Reputation first (left lower corner of the post of person(s) who helped you) and then
    - mark the thread as SOLVED (top right corner over your first post - Thread Tools). This is important for all of us,

    Thanks

+ 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] My formula sumif/indirect formula is working perfect..except everything is 1 row off!
    By Nyolls in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-23-2015, 01:12 PM
  2. [SOLVED] INDIRECT Function with multiple sheets - SUMIF, INDIRECT & MATCH
    By DJDRU in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 10-07-2014, 08:42 AM
  3. adding Indirect formula to my current sum if array formula
    By Eastbay2 in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 05-13-2013, 09:41 AM
  4. Sum of indirect sheet names with multiple cells (SUM, INDIRECT,SHEETNAME in cell)
    By a1b2c3d4e5f6g7h8 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 02-12-2013, 08:42 AM
  5. Replies: 1
    Last Post: 02-10-2012, 02:53 AM
  6. [SOLVED] Allow EXCEL INDIRECT(ADDRESS()) and INDIRECT(RANGE()) functions
    By Andy Wiggins in forum Excel Formulas & Functions
    Replies: 18
    Last Post: 09-06-2005, 07:05 AM
  7. Allow EXCEL INDIRECT(ADDRESS()) and INDIRECT(RANGE()) functions
    By Mike Barlow in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 03:05 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