Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 01-10-2014, 12:32 AM
jennamae jennamae is offline Vlookup two columns return 3rd Windows 8 Vlookup two columns return 3rd Office 2010 32bit
Novice
Vlookup two columns return 3rd
 
Join Date: Nov 2013
Posts: 9
jennamae is on a distinguished road
Default Vlookup two columns return 3rd

Hi,



I have two vlookup functions on sheet 1

I would like it to search the date I have typed in A1 sheet 1 and the shift I have entered in sheet 1 B1 and return a result of data in C1

Sheet two is where the data is stored and has the below information

Date - Shift - Workers On
11/1/14 - DAY - 5

Therefore if in sheet 1 in A1 I enter the date and in sheet1 B1 I enter D, C1 will return 5

Please help
Reply With Quote
  #2  
Old 01-10-2014, 09:37 AM
Pecoflyer's Avatar
Pecoflyer Pecoflyer is offline Vlookup two columns return 3rd Windows 7 64bit Vlookup two columns return 3rd Office 2010 64bit
Expert
 
Join Date: Nov 2011
Location: Brussels Belgium
Posts: 2,770
Pecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant future
Default

Hi

I don't really understand your column organization ( a sample workbook might help), but the result is something along the lines of =SUMPRODUCT((Sheet2!A1:a100=A1)*(sheet2!A1:a100=B1 )*Sheet2!C1:C100)

Of course as you are suing dates there might be some surprises, so posting a book will certainly help
__________________
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
  #3  
Old 01-10-2014, 03:14 PM
jennamae jennamae is offline Vlookup two columns return 3rd Windows 8 Vlookup two columns return 3rd Office 2010 32bit
Novice
Vlookup two columns return 3rd
 
Join Date: Nov 2013
Posts: 9
jennamae is on a distinguished road
Default

Thanks Pecoflyer

sample sheet is attached
Attached Files
File Type: xlsx sample excel.xlsx (10.0 KB, 7 views)
Reply With Quote
  #4  
Old 01-11-2014, 02:38 AM
Pecoflyer's Avatar
Pecoflyer Pecoflyer is offline Vlookup two columns return 3rd Windows 7 64bit Vlookup two columns return 3rd Office 2010 64bit
Expert
 
Join Date: Nov 2011
Location: Brussels Belgium
Posts: 2,770
Pecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant future
Default

The attached is not entirely foolproof but should get you started
Attached Files
File Type: xlsx sample.xlsx (10.5 KB, 19 views)
__________________
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
  #5  
Old 01-11-2014, 02:43 AM
jennamae jennamae is offline Vlookup two columns return 3rd Windows 8 Vlookup two columns return 3rd Office 2010 32bit
Novice
Vlookup two columns return 3rd
 
Join Date: Nov 2013
Posts: 9
jennamae is on a distinguished road
Default

Hi

I could not open this version of excel on my computer, are you able to resend or post the formula

Thank you for you help
Reply With Quote
  #6  
Old 01-11-2014, 04:40 AM
Pecoflyer's Avatar
Pecoflyer Pecoflyer is offline Vlookup two columns return 3rd Windows 7 64bit Vlookup two columns return 3rd Office 2010 64bit
Expert
 
Join Date: Nov 2011
Location: Brussels Belgium
Posts: 2,770
Pecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant future
Default

You are probably experiencing the same as some members do on this forum when downloading a file (not everybody does according to admin). It adds an xls extension to the existing xlsx extension.
Instead of opening the file from the web, first download and save it then open it from your PC
__________________
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
  #7  
Old 01-11-2014, 05:02 AM
jennamae jennamae is offline Vlookup two columns return 3rd Windows 8 Vlookup two columns return 3rd Office 2010 32bit
Novice
Vlookup two columns return 3rd
 
Join Date: Nov 2013
Posts: 9
jennamae is on a distinguished road
Default

Hi just tried that, it trys to save it as a PHP file and doesn't allow me to change. This file will not open

Thanks
Reply With Quote
  #8  
Old 01-11-2014, 07:05 AM
Pecoflyer's Avatar
Pecoflyer Pecoflyer is offline Vlookup two columns return 3rd Windows 7 64bit Vlookup two columns return 3rd Office 2010 64bit
Expert
 
Join Date: Nov 2011
Location: Brussels Belgium
Posts: 2,770
Pecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant future
Default

Another try ?
Attached Files
File Type: xlsx sample.xlsx (10.5 KB, 14 views)
__________________
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
  #9  
Old 01-11-2014, 02:11 PM
jennamae jennamae is offline Vlookup two columns return 3rd Windows 8 Vlookup two columns return 3rd Office 2010 32bit
Novice
Vlookup two columns return 3rd
 
Join Date: Nov 2013
Posts: 9
jennamae is on a distinguished road
Default

Nope its still not working, how frustrating. Are you able to post the formula in the message box?
Reply With Quote
  #10  
Old 01-12-2014, 01:49 AM
Pecoflyer's Avatar
Pecoflyer Pecoflyer is offline Vlookup two columns return 3rd Windows 7 64bit Vlookup two columns return 3rd Office 2010 64bit
Expert
 
Join Date: Nov 2011
Location: Brussels Belgium
Posts: 2,770
Pecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant future
Default

In B4 :
Code:
=SUMPRODUCT((Sheet2!$A$2:$A$7=Sheet1!B$2)*(Sheet2!$B$2:$B$7=Sheet1!B$3)*(Sheet2!$C$2:$C$7))
drag right and down ( only for row 5)

In B6 :
Code:
=INDEX(Sheet2!$E$1:$E$7,(SUMPRODUCT((Sheet2!$A$1:$A$7=Sheet1!B$2)*(Sheet2!$B$1:$B$7=Sheet1!B$3)*ROW(Sheet2!$E$1:$E$7))))
and drag right
__________________
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
  #11  
Old 01-12-2014, 01:51 AM
Pecoflyer's Avatar
Pecoflyer Pecoflyer is offline Vlookup two columns return 3rd Windows 7 64bit Vlookup two columns return 3rd Office 2010 64bit
Expert
 
Join Date: Nov 2011
Location: Brussels Belgium
Posts: 2,770
Pecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant future
Default

Perhaps contact admin to examine your download problem?
__________________
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
  #12  
Old 01-12-2014, 02:53 AM
jennamae jennamae is offline Vlookup two columns return 3rd Windows 8 Vlookup two columns return 3rd Office 2010 32bit
Novice
Vlookup two columns return 3rd
 
Join Date: Nov 2013
Posts: 9
jennamae is on a distinguished road
Default

Thank you I will give it a try
Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to return to a PPT after opening a PDF in the PPT sasquachnw PowerPoint 0 05-03-2012 07:02 AM
Return Entire Row ibrahimaa Excel 3 01-10-2012 05:44 AM
Vlookup two columns return 3rd How to compare 2 columns with other two columns in EXECL 2007? Learner7 Excel 5 06-12-2010 09:54 AM
Return to in box cjwilson2740 Outlook 0 04-05-2010 02:27 PM
Carriage Return Help UCHelp Word 1 04-04-2010 10:11 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 03:49 PM.


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