+ Reply to Thread
Results 1 to 6 of 6

Find the value through two lookup inputs

  1. #1
    Registered User
    Join Date
    12-13-2018
    Location
    mumbai
    MS-Off Ver
    2010
    Posts
    15

    Find the value through two lookup inputs

    Query - I have Hourly stock prices in first worksheet - I have 2 problems relating to it
    I want to convert this hourly data into a daily data

    1. I want date in "Daily" worksheet as in sequence to data i.e. 1st date is 4th april 2022 and continued in sequence till 8th april
    later market opens afetr 2 days on 11th april - I need the same date sequence as in hourly data worksheet

    2. I have calculated "Maximum" and "Minimum" Values for a particular day from the "hourly data"
    but, I also need time at which point that data occurred
    I have filled the column manually for understanding

    Thanks
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    30,786

    Re: Find the value through two lookup inputs

    Try


    in A3

    =IFERROR(INDEX('Hourly Data'!$A$3:$A$122, MATCH(0, COUNTIF($A$1:A1, 'Hourly Data'!$A$3:$A$122), 0)), "")

    Enter with Ctrl+Shift+Enter

    in G3

    =INDEX('Hourly Data'!$B$3:$B$122,AGGREGATE(15,6,ROW($A$1:$A$122)/(('Hourly Data'!$D$3:$D$122=Daily!$C3)*('Hourly Data'!$A$3:$A$122=Daily!$A3)),1))

    in I3

    =INDEX('Hourly Data'!$B$3:$B$122,AGGREGATE(15,6,ROW($A$1:$A$122)/(('Hourly Data'!$E$3:$E$122=Daily!$D3)*('Hourly Data'!$A$3:$A$122=Daily!$A3)),1))

    Is your profile correct ? If you have a later version on Excel: if so, please update your profile as answers do depend on Excel version you have.
    Attached Files Attached Files
    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.

  3. #3
    Registered User
    Join Date
    12-13-2018
    Location
    mumbai
    MS-Off Ver
    2010
    Posts
    15

    Re: Find the value through two lookup inputs

    Thanks, But Date is getting repeated twice in Column A

    4April2022 - 2 times
    5April2022 - 2 times
    6April2022 - 2 times.... and so on

    Please Revert on this.
    Thanks

  4. #4
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    30,786

    Re: Find the value through two lookup inputs

    try

    =IFERROR(INDEX('Hourly Data'!$A$3:$A$122, MATCH(0, COUNTIF($A$2:A2, 'Hourly Data'!$A$3:$A$122), 0)), "")
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    12-13-2018
    Location
    mumbai
    MS-Off Ver
    2010
    Posts
    15

    Re: Find the value through two lookup inputs

    It worked.
    Thank You

  6. #6
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    30,786

    Re: Find the value through two lookup inputs

    You're welcome.

    Could you please mark as SOLVED (see "Thread Tools" at top of sheet").

    Thank 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. [SOLVED] Find value between 2 sets of inputs
    By etipou in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 06-30-2019, 06:01 PM
  2. [SOLVED] Lookup and matching help with given user inputs on a spreadsheet
    By rham243 in forum Excel General
    Replies: 2
    Last Post: 08-12-2015, 02:31 PM
  3. Lookup two inputs in numerous tables to return one value
    By SamC270 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 11-01-2013, 08:19 AM
  4. find formula inputs
    By ANS in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 09-23-2013, 02:36 AM
  5. [SOLVED] another lookup- lookup column against row inputs
    By opeyemi1 in forum Excel General
    Replies: 2
    Last Post: 05-02-2012, 07:39 PM
  6. Multiple horizantal lookup inputs
    By sctraffic in forum Excel General
    Replies: 1
    Last Post: 10-28-2011, 03:48 PM
  7. Replies: 2
    Last Post: 02-18-2006, 01:25 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