+ Reply to Thread
Results 1 to 11 of 11

cell dffd dfdffd df

  1. #1
    Registered User
    Join Date
    06-29-2022
    Location
    Canada
    MS-Off Ver
    2021
    Posts
    38

    cell dffd dfdffd df

    Hi,

    Reference values.
    Last edited by aslam5420; 07-10-2022 at 10:05 AM.

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,469

    Re: Formula to Find Row Number with respect to reference value in the adjacent cell

    This SHOULD work, but isn't doing so and I am struggling to work out why:

    =MATCH(J5,F:F,0)
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  3. #3
    Registered User
    Join Date
    06-29-2022
    Location
    Canada
    MS-Off Ver
    2021
    Posts
    38

    Re: Formula to Find Row Number with respect to reference value in the adjacent cell

    Hi AliGW,

    This worked for simple Numbers.

    But for my case it gave an error.

  4. #4
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,469

    Re: Formula to Find Row Number with respect to reference value in the adjacent cell

    I know it gives an error - I said I was trying to work out why. The numbers match, so I can't at the moment find a workaround.

  5. #5
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,469

    Re: Formula to Find Row Number with respect to reference value in the adjacent cell

    This ALMOST works, but gets the third one wrong:

    =XLOOKUP(J5,F:F,ROW(F:F),"",1)

    AliGW on MS365 Beta Channel (Windows 11) 64 bit

    J
    K
    L
    M
    4
    Reference Values
    Expected Results (Row Numbers)
    MATCH
    XLOOKUP
    5
    0.079166667
    17
    #N/A
    17
    6
    0.10625
    28
    28
    28
    7
    0.128472222
    36
    #N/A
    37
    8
    9
    10
    11
    TRUE
    =J5=F17
    12
    TRUE
    =J6=F28
    13
    TRUE
    =J7=F36
    Sheet: Sheet1

  6. #6
    Registered User
    Join Date
    06-29-2022
    Location
    Canada
    MS-Off Ver
    2021
    Posts
    38

    Re: Formula to Find Row Number with respect to reference value in the adjacent cell

    Hi AliGW,

    Yes, Third one is wrong

  7. #7
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,469

    Re: Formula to Find Row Number with respect to reference value in the adjacent cell

    Yes, I know - I told you that.

    What I am TRYING to do is work out WHY, brcause they should both work.

  8. #8
    Valued Forum Contributor PaulSP8's Avatar
    Join Date
    11-21-2017
    Location
    Chorley, England
    MS-Off Ver
    2013 & 2021
    Posts
    437

    Re: Formula to Find Row Number with respect to reference value in the adjacent cell

    I was trying to work this out as well.

    Weirdly if you copy and paste J5 to F17 (or vice versa) it works as expected with MATCH

  9. #9
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,469

    Re: Formula to Find Row Number with respect to reference value in the adjacent cell

    This WILL work:

    =XLOOKUP(ROUND(J5,2),ROUND(F:F,2),ROW(F:F),"",0)

    You can change the number of decimal points to suit yourself as long as they are the same for both.

    It's one of those floating point error issues, I think.
    Attached Files Attached Files

  10. #10
    Registered User
    Join Date
    06-29-2022
    Location
    Canada
    MS-Off Ver
    2021
    Posts
    38

    Re: Formula to Find Row Number with respect to reference value in the adjacent cell

    Hi AliGW,

    In #9, formula worked perfectly. Thank you so much for your efforts.

  11. #11
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,469

    Re: Formula to Find Row Number with respect to reference value in the adjacent cell

    Glad to have helped.

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.

    Also, if you have not already done so, you may not be aware that you can thank those who have helped you by clicking the small star icon (* Add Reputation) located in the lower left corner of the post in which the help was given. By doing so you can add to the reputation(s) of all those who offered help.

+ 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. values
    By aslam5420 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 06-29-2022, 01:50 PM
  2. Replies: 2
    Last Post: 02-19-2022, 09:30 AM
  3. Replies: 5
    Last Post: 02-03-2022, 02:44 AM
  4. [SOLVED] Re Arrange or Move Cell values with respect to Reference Cells
    By structo in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-13-2021, 03:11 AM
  5. Replies: 0
    Last Post: 07-01-2018, 10:23 PM
  6. Replies: 3
    Last Post: 07-21-2015, 05:10 PM
  7. Find a number and replace the adjacent cell with other number
    By shafath03 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 06-20-2013, 09:09 PM

Tags for this Thread

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