+ Reply to Thread
Results 1 to 20 of 20

Address look up for the cell where it found the value from

Hybrid View

  1. #1
    Forum Contributor
    Join Date
    07-21-2014
    Location
    Norway
    MS-Off Ver
    2016
    Posts
    230

    Question Address look up for the cell where it found the value from

    Hi
    I want an formula that finds the address of WHERE it found the specific number in that cell. Normal address formula just find the address of the cell I point it too.

  2. #2
    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,454

    Re: Address look up for the cell where it found the value from

    I'm not sure what you mean. can you post a small sample?

    Do you simply mean =SEARCH("Search text",Reference Cell) to return the position of the search text in the reference cell?
    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

  3. #3
    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. 2407 (Windows 11 23H2 64-bit)
    Posts
    82,876

    Re: Address look up for the cell where it found the value from

    I'm thinking along the lines of Trace Precedents on the Formulas ribbon.
    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.

  4. #4
    Forum Contributor
    Join Date
    07-21-2014
    Location
    Norway
    MS-Off Ver
    2016
    Posts
    230

    Re: Address look up for the cell where it found the value from

    I have in cell DG7 this formula: =IF(Parameters!B48="","",IFERROR(INDEX(Data!$B:$B,LOOKUP(1E+100,SMALL(IF(TEXT(Data!$G$8:$G$1500,"hh:mm")=TEXT(DOLLARDE(Parameters!$B$48/100,60)/24,"hh:mm"),ROW(Data!$G$8:$G$1500)),CHOOSE({1,2,3,4},1,2,3,Parameters!D26)))),""))

    in Cell DI7, I want a formula that finds the cell address of where it found this value

  5. #5
    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,454

    Re: Address look up for the cell where it found the value from

    In the absence of a sample (sheet), there's not much for me to work on. Here is a sample file showing how it was done in another case.
    Attached Files Attached Files

  6. #6
    Forum Contributor
    Join Date
    07-21-2014
    Location
    Norway
    MS-Off Ver
    2016
    Posts
    230

    Re: Address look up for the cell where it found the value from

    So I have uploaded a sample sheet, look at the Day tab
    Attached Files Attached Files

  7. #7
    Forum Contributor
    Join Date
    07-21-2014
    Location
    Norway
    MS-Off Ver
    2016
    Posts
    230

    Re: Address look up for the cell where it found the value from

    What I actually want to find out, is the minimum value between two numbers, so maybe there is another method to achieve this, making a formula directly.
    I have this formula in Helper!G14
    Formula: copy to clipboard
    =IF(Day!A7="","",MIN(INDEX(Data!D:D,MATCH(Day!A7,Data!G:G,0)):INDEX(Data!C:C,MATCH(E1+100,Data!C:C))))
    this formula finds the minimum value from 10:00 and out to 16:00, I want it to stop at 12:01.
    In other words I want to find the minimum value between the time from 1000 to 1201 (which are given at the parameters tab). I have done it manually in cell Helper!O14

    Sample file
    https://www.dropbox.com/s/9c0hxln77t...%202.xlsm?dl=0
    Last edited by excelnabb; 08-04-2019 at 08:42 AM.

  8. #8
    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. 2407 (Windows 11 23H2 64-bit)
    Posts
    82,876

    Re: Address look up for the cell where it found the value from

    Please attach your workbook HERE.

    Click on GO ADVANCED and then scroll down to Manage Attachments to open the upload window.

  9. #9
    Forum Contributor
    Join Date
    07-21-2014
    Location
    Norway
    MS-Off Ver
    2016
    Posts
    230

    Re: Address look up for the cell where it found the value from

    the workbook is 1,3MB, maximum size I can upload is 1MB

  10. #10
    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. 2407 (Windows 11 23H2 64-bit)
    Posts
    82,876

    Re: Address look up for the cell where it found the value from

    We don't need to see your entire dataset, just a small representative sample of maybe 20-30 rows of data.

  11. #11
    Forum Contributor
    Join Date
    07-21-2014
    Location
    Norway
    MS-Off Ver
    2016
    Posts
    230

    Re: Address look up for the cell where it found the value from

    I'v tried to delete most of the data, still can't get the file under 1MB. When I delete almost all the data on the data tab, I still around 1,29MB

  12. #12
    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. 2407 (Windows 11 23H2 64-bit)
    Posts
    82,876

    Re: Address look up for the cell where it found the value from

    That's impossible if it is JUST letters and numbers - there must be something else bloating the file. What is in there other than just data?

    You could copy and paste to a new workbook and replicate your layout, then upload that copy.

  13. #13
    Forum Expert
    Join Date
    07-20-2011
    Location
    Mysore, India.
    MS-Off Ver
    Excel 2019
    Posts
    8,682

    Re: Address look up for the cell where it found the value from

    In C7

    =CELL("address",INDEX(Data!$A$1:$G$1,MATCH(B7,Data!$A$1:$F$1,0)))
    Attached Files Attached Files
    Pl note
    Array formula should be confirmed with Ctrl+Shift+Enter keys together.
    If answere is satisfactory press * to add reputation.

  14. #14
    Forum Contributor
    Join Date
    07-21-2014
    Location
    Norway
    MS-Off Ver
    2016
    Posts
    230

    Re: Address look up for the cell where it found the value from

    Quote Originally Posted by kvsrinivasamurthy View Post
    In C7

    =CELL("address",INDEX(Data!$A$1:$G$1,MATCH(B7,Data!$A$1:$F$1,0)))
    I can't get this to work, it just says the formula, nothing happens when I press enter. In the end I want the answer from this formula (and the end of the consolidation) to be in this formula where the cells are higlighted, they are also dynamic meaning they will never be in the same cell on the data sheet. =IF(Day!A7="","",MIN(INDEX(Data!D:D,MATCH(Day!A7,Data!G:G,0)):INDEX(Data!C:C,MATCH(E1+100,Data!C:C))))

    I have btw updated the dropbox link with a new spreadsheet, I saw there was one mistake there as I have fixed now

  15. #15
    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. 2407 (Windows 11 23H2 64-bit)
    Posts
    82,876

    Re: Address look up for the cell where it found the value from

    Try saving as an .xlsb file to strip out anything unnecessary.

  16. #16
    Forum Contributor
    Join Date
    07-21-2014
    Location
    Norway
    MS-Off Ver
    2016
    Posts
    230

    Re: Address look up for the cell where it found the value from

    There are different scripts in the worksheet, beneath is the binary version ( with some #REF "errors")
    Attached Files Attached Files

  17. #17
    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. 2407 (Windows 11 23H2 64-bit)
    Posts
    82,876

    Re: Address look up for the cell where it found the value from

    Sounds like the cell is stuck on text formatting. Clear the cell, set its format to general and try entering the formula again.

  18. #18
    Forum Contributor
    Join Date
    07-21-2014
    Location
    Norway
    MS-Off Ver
    2016
    Posts
    230

    Re: Address look up for the cell where it found the value from

    I tried, same thing

  19. #19
    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,454

    Re: Address look up for the cell where it found the value from

    The formula generating 2.401 seems very complicated... however, either this:

    =ADDRESS(AGGREGATE(14,6,ROW(Data!$B$1:$B$20)/(Data!$B$1:$B$20=$B$7),1),2,4)

    or this:

    =ADDRESS(AGGREGATE(14,6,ROW(Data!$B$1:$B$20)/((Data!$B$1:$B$20=$B$7)*(TEXT(Data!$G$1:$G$20,"hh:mm")=TEXT(DOLLARDE(Parameters!$A$1/100,60)/24,"hh:mm"))),1),2,4)

    does what you want. I don't know if you need the time selection in there, so I gave you both versions.
    Attached Files Attached Files

  20. #20
    Forum Contributor
    Join Date
    07-21-2014
    Location
    Norway
    MS-Off Ver
    2016
    Posts
    230

    Re: Address look up for the cell where it found the value from

    Thank you so much! that worked, I however see that using the formula in this way is too advanced, so I need another formula, but I will make a new post as its completely different.

+ 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. Replies: 1
    Last Post: 09-26-2017, 12:05 PM
  2. Get Cell Address of First Date Field Found
    By ptmuldoon in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 06-12-2015, 04:07 PM
  3. VBA Code to Replace Cell Value when Address found by Index/Match
    By Rubert in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-23-2013, 10:27 AM
  4. Find Cell Address of a value found using a VLOOKUP Formula
    By ARGK in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 10-16-2013, 08:54 AM
  5. Excel 2007 : List of Cell Address for multiple data found
    By centurion210 in forum Excel General
    Replies: 7
    Last Post: 12-17-2009, 02:04 PM
  6. How to get the address of the cell found our by vlookup
    By dilettante in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-08-2006, 10:10 PM
  7. Find text String and select cell address where it is found?
    By JCIrish in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 04-16-2006, 09:45 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