+ Reply to Thread
Results 1 to 4 of 4

Pulling down a Formula discards a $

  1. #1
    Registered User
    Join Date
    07-18-2022
    Location
    Manchester England
    MS-Off Ver
    MS365
    Posts
    91

    Pulling down a Formula discards a $

    I am using the following formula to select every other column from a table
    INDEX($H163:$AE163,MATCH(H$215&$C$210,$H$161:$AE$161 & $H$161:$ae$162,0))
    My problem is that when I pull this down the column The final $ae$162 turns to $ae163 and thus all the way down.
    The workbook that have attached to show this works as expected with no change to the "AE" part ($E$8:$J$8 in the attachment),but it does show what I want to achieve
    I can't find a reason for the change and would be very grateful for some help
    John
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    10-10-2016
    Location
    Sheffield
    MS-Off Ver
    365 and rarely 2016
    Posts
    3,212

    Re: Pulling down a Formula discards a $

    Its not helpful not seeing the sheet with the problem in it but

    INDEX($H163:$AE163,MATCH(H$215&$C$210,$H$161:$AE$161 & $H$161:$ae$162,0)) is the red correct?

  3. #3
    Registered User
    Join Date
    07-18-2022
    Location
    Manchester England
    MS-Off Ver
    MS365
    Posts
    91

    Re: Pulling down a Formula discards a $

    davsth,
    Thanks for your interest. You have found a typo in my post. The code should read $H$162.
    I have attached the whole offending sheet which still does show the error. Above each table you will see a line of code. I have a sub which copies this named range down to the table below. This is then copied and saved to itself as values
    I found the fault though by copying and pasting manually.
    You can see for yourself in colH rows216 and 217
    John
    Attached Files Attached Files

  4. #4
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2406
    Posts
    44,259

    Re: Pulling down a Formula discards a $

    H216, copied across and down:

    =INDEX($H163:$AE163,,MATCH(1,($H$162:$AE$162=$C$210)*($H$161:$AE$161=H$215),0))
    Attached Files Attached Files
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU

+ 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. SUMIF - Formula Pulling 0
    By Josh Weston in forum Hello..Introduce yourself
    Replies: 1
    Last Post: 01-11-2021, 04:21 PM
  2. Preview discards post
    By Cynthia Moore in forum Suggestions for Improvement
    Replies: 2
    Last Post: 12-23-2014, 02:15 PM
  3. Pulling Pricing Formula
    By Jimbo137 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 10-15-2013, 06:05 PM
  4. Pulling a Specific Cell when Pulling a Tabel from Web Based Data
    By Zallen89 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-26-2013, 05:39 PM
  5. Formula for pulling only cells with certain value
    By ghladik in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 12-10-2012, 12:21 PM
  6. [SOLVED] Change Event discards format of Labels
    By Tsjallie in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 10-02-2012, 04:35 PM
  7. Need formula help for pulling data
    By argentraven in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 08-15-2011, 06:55 PM

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