Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 02-13-2017, 04:22 PM
Diver Diver is offline Two criteria search in a matrix Windows 10 Two criteria search in a matrix Office 2013
Novice
Two criteria search in a matrix
 
Join Date: Feb 2017
Posts: 21
Diver is on a distinguished road
Default Two criteria search in a matrix

Hi i´m doing something wrong.

The last 3 days i have bin trying to get a value (red) from a row number (orange) and time in between to times (blue)
Attached Images
File Type: jpg Unavngivet.jpg (167.3 KB, 16 views)

Last edited by Diver; 02-13-2017 at 06:27 PM.
Reply With Quote
  #2  
Old 02-13-2017, 04:45 PM
jeffreybrown jeffreybrown is offline Two criteria search in a matrix Windows Vista Two criteria search in a matrix Office 2007
Expert
 
Join Date: Apr 2016
Posts: 673
jeffreybrown has a spectacular aura aboutjeffreybrown has a spectacular aura about
Default

Hello & Welcome to the Forum,

I am not as young as I use to be, so could you post your workbook so I can see a little more clearly. That picture is small.
Reply With Quote
  #3  
Old 02-13-2017, 06:27 PM
Diver Diver is offline Two criteria search in a matrix Windows 10 Two criteria search in a matrix Office 2013
Novice
Two criteria search in a matrix
 
Join Date: Feb 2017
Posts: 21
Diver is on a distinguished road
Default

This is the best i can do.
Reply With Quote
  #4  
Old 02-13-2017, 06:35 PM
Diver Diver is offline Two criteria search in a matrix Windows 10 Two criteria search in a matrix Office 2013
Novice
Two criteria search in a matrix
 
Join Date: Feb 2017
Posts: 21
Diver is on a distinguished road
Default

This is the best i can do.
Reply With Quote
  #5  
Old 02-13-2017, 06:44 PM
Diver Diver is offline Two criteria search in a matrix Windows 10 Two criteria search in a matrix Office 2013
Novice
Two criteria search in a matrix
 
Join Date: Feb 2017
Posts: 21
Diver is on a distinguished road
Default

And thank you
Reply With Quote
  #6  
Old 02-13-2017, 07:57 PM
jeffreybrown jeffreybrown is offline Two criteria search in a matrix Windows Vista Two criteria search in a matrix Office 2007
Expert
 
Join Date: Apr 2016
Posts: 673
jeffreybrown has a spectacular aura aboutjeffreybrown has a spectacular aura about
Default

Quote:
Originally Posted by Diver View Post
This is the best i can do.
What is the best you can do? You can't attach a workbook?
Reply With Quote
  #7  
Old 02-14-2017, 12:27 AM
Pecoflyer's Avatar
Pecoflyer Pecoflyer is offline Two criteria search in a matrix Windows 7 64bit Two criteria search in a matrix Office 2010 64bit
Expert
 
Join Date: Nov 2011
Location: Brussels Belgium
Posts: 2,919
Pecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond repute
Default

Click - Go advanced - Manage attachments and follow the wizard to post a sheet
__________________
Using O365 v2503 - Did you know you can thank someone who helped you? Click on the tiny scale in the right upper hand corner of your helper's post
Reply With Quote
  #8  
Old 02-14-2017, 12:42 AM
xor xor is offline Two criteria search in a matrix Windows 10 Two criteria search in a matrix Office 2016
Expert
 
Join Date: Oct 2015
Posts: 1,100
xor is a name known to allxor is a name known to allxor is a name known to allxor is a name known to allxor is a name known to allxor is a name known to all
Default

With row number (orange) in B22, time in B23 and the following in B24 (a helper cell):

="R"&MATCH(B22;B2:B17;0)+1&"C3:R"&MATCH(B22;B2:B17 ;0)+1&"C34"
you can try the following:

=INDEX(C18:AH18;MATCH(B23;INDIRECT(B24;0);0))

Last edited by xor; 02-14-2017 at 03:15 AM.
Reply With Quote
  #9  
Old 02-14-2017, 12:52 AM
xor xor is offline Two criteria search in a matrix Windows 10 Two criteria search in a matrix Office 2016
Expert
 
Join Date: Oct 2015
Posts: 1,100
xor is a name known to allxor is a name known to allxor is a name known to allxor is a name known to allxor is a name known to allxor is a name known to all
Default

Please forget about #8. By mistake I forgot to change semicolons (which is my usual setting) in the last formula to commas.

I also think I misread your last words:

and time in between to times

Try this formula instead:

=INDEX(C18:AH18,MATCH(B23,INDIRECT(B24,0),1))

If you want to avoid the helper cell you can try this formula:

=INDEX($C$18:$AH$18,MATCH($B$23,OFFSET($C$1,MATCH( $B$22,$B$2:$B$17,0),,,32),1))

Last edited by xor; 02-14-2017 at 03:25 AM.
Reply With Quote
  #10  
Old 02-14-2017, 04:17 AM
Diver Diver is offline Two criteria search in a matrix Windows 10 Two criteria search in a matrix Office 2013
Novice
Two criteria search in a matrix
 
Join Date: Feb 2017
Posts: 21
Diver is on a distinguished road
Default

Thank you so much
Reply With Quote
Reply

Tags
match/index, sumif, vlookup



Similar Threads
Thread Thread Starter Forum Replies Last Post
Use CSV as search criteria for Outlook search folder lonesoac0 Outlook 0 03-07-2016 02:31 PM
Search for date and then apply mutliple search criteria in huge dataset maxtymo Excel 2 12-01-2013 04:52 AM
Two criteria search in a matrix Display if search criteria is not met meppwc Excel 2 03-23-2013 10:48 AM
Search Folder sent to criteria markstro Outlook 0 12-20-2011 02:47 PM
Criteria in Outlook Search Nancy Grams Outlook 0 11-12-2009 03:03 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 07:02 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft