Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 11-12-2016, 03:17 PM
Bdcrawford Bdcrawford is offline best option for vlookup formula Windows 8 best option for vlookup formula Office 2016
Novice
best option for vlookup formula
 
Join Date: Nov 2016
Posts: 13
Bdcrawford is on a distinguished road
Default best option for vlookup formula

Hi,

I need help writing a formula with vlookup that will pull information from 2 different sources into the same cell to pull in different information. I'm going to try to explain what i'm trying to do and will be able to send the excel sheet if needed.

I have (2) guest log sheets with different guest information on them. I made a sign in sheet that can pull information from the one sheet and fill in the guest information exactly like I want using the vlookup formula by using guest numbers.



I have another sheet that is for a different guest list. I want my formula to be able to choose which list to pull the guest data from by guest number.

so if one list is 1,2,3,4,etc. and the other is a,b,c,d,etc

example:
if I put "1" in cell B2 and the result is MIKE

I would also like the option that if cell B2 is "a" the result would be Steve

Thank you,

Brian
Attached Files
File Type: xlsx TI_Res_info.xlsx (97.5 KB, 10 views)

Last edited by Bdcrawford; 11-12-2016 at 04:49 PM. Reason: To attach file
Reply With Quote
  #2  
Old 11-12-2016, 03:25 PM
jeffreybrown jeffreybrown is offline best option for vlookup formula Windows Vista best option for vlookup formula Office 2007
Expert
 
Join Date: Apr 2016
Posts: 673
jeffreybrown has a spectacular aura aboutjeffreybrown has a spectacular aura about
Default

Hi Brian,

So many things are possible, but without a test sample workbook, we might merely be guessing.
Reply With Quote
  #3  
Old 11-12-2016, 04:22 PM
Bdcrawford Bdcrawford is offline best option for vlookup formula Windows 8 best option for vlookup formula Office 2016
Novice
best option for vlookup formula
 
Join Date: Nov 2016
Posts: 13
Bdcrawford is on a distinguished road
Default hi

how can I attach my worksheet or send it to you?
Reply With Quote
  #4  
Old 11-12-2016, 04:50 PM
Bdcrawford Bdcrawford is offline best option for vlookup formula Windows 8 best option for vlookup formula Office 2016
Novice
best option for vlookup formula
 
Join Date: Nov 2016
Posts: 13
Bdcrawford is on a distinguished road
Default

I have attached a copy to my original post. I somehow missed where to attach the file.
Reply With Quote
  #5  
Old 11-12-2016, 05:37 PM
jeffreybrown jeffreybrown is offline best option for vlookup formula Windows Vista best option for vlookup formula Office 2007
Expert
 
Join Date: Apr 2016
Posts: 673
jeffreybrown has a spectacular aura aboutjeffreybrown has a spectacular aura about
Default

Thanks for the attachment. Can you now give me a clearer understanding of what you want to achieve?
Reply With Quote
  #6  
Old 11-12-2016, 06:10 PM
Bdcrawford Bdcrawford is offline best option for vlookup formula Windows 8 best option for vlookup formula Office 2016
Novice
best option for vlookup formula
 
Join Date: Nov 2016
Posts: 13
Bdcrawford is on a distinguished road
Default

What I want to do is has the option to fill out the log sheet with either information from the call-in log or the PGL log. So what needs to happen is we have a permanent guest list here and also a list for call in list which is different daily. I want to be able to just use an ID number to have the information populate on the guest log sheet. From the 2 different data sheets.

The data sheets need to be separate as there are a lot of names to add to it and the other changes daily as I mentioned. I'm open to use any formula to achieve this as I've watched several videos and they all have a different way of doing things.
Reply With Quote
  #7  
Old 11-12-2016, 06:13 PM
Bdcrawford Bdcrawford is offline best option for vlookup formula Windows 8 best option for vlookup formula Office 2016
Novice
best option for vlookup formula
 
Join Date: Nov 2016
Posts: 13
Bdcrawford is on a distinguished road
Default

Quote:
Originally Posted by jeffreybrown View Post
Thanks for the attachment. Can you now give me a clearer understanding of what you want to achieve?
the formula needs to be made so that it can read an entire column on both sheets as the number of entries can vary
Reply With Quote
  #8  
Old 11-12-2016, 06:18 PM
jeffreybrown jeffreybrown is offline best option for vlookup formula Windows Vista best option for vlookup formula Office 2007
Expert
 
Join Date: Apr 2016
Posts: 673
jeffreybrown has a spectacular aura aboutjeffreybrown has a spectacular aura about
Default

Since it appears in column B the difference is text versus a number (1, 2, 3, etc.), then this should do it...

Paste into C2 and copy across and down
=IFERROR(VLOOKUP($B2,IF(N($B2),'CALL-IN LOG'!$A:$E,PGLLIST),COLUMN(B$1),FALSE),"")
Reply With Quote
  #9  
Old 11-12-2016, 06:48 PM
Bdcrawford Bdcrawford is offline best option for vlookup formula Windows 8 best option for vlookup formula Office 2016
Novice
best option for vlookup formula
 
Join Date: Nov 2016
Posts: 13
Bdcrawford is on a distinguished road
Default

Quote:
Originally Posted by jeffreybrown View Post
Since it appears in column B the difference is text versus a number (1, 2, 3, etc.), then this should do it...

Paste into C2 and copy across and down
=IFERROR(VLOOKUP($B2,IF(N($B2),'CALL-IN LOG'!$A:$E,PGLLIST),COLUMN(B$1),FALSE),"")
Thank you for the advice. I won't be able to try the formula until tomorrow as I'm away from my computer and at work right now. I will let you know the results when I am able to apply them.

Thanks again

Brian
Reply With Quote
  #10  
Old 11-13-2016, 07:01 AM
Pecoflyer's Avatar
Pecoflyer Pecoflyer is offline best option for vlookup formula Windows 7 64bit best option for vlookup formula 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

@bdcrawford
Hello
please don't quote entire posts unnecessarily. Quotes are just clutter and make the thread hard to follow. Thank you
__________________
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
  #11  
Old 11-13-2016, 10:12 AM
Bdcrawford Bdcrawford is offline best option for vlookup formula Windows 8 best option for vlookup formula Office 2016
Novice
best option for vlookup formula
 
Join Date: Nov 2016
Posts: 13
Bdcrawford is on a distinguished road
Default

@jefferybrown

It worked great

Thank you
Reply With Quote
  #12  
Old 11-13-2016, 12:51 PM
jeffreybrown jeffreybrown is offline best option for vlookup formula Windows Vista best option for vlookup formula Office 2007
Expert
 
Join Date: Apr 2016
Posts: 673
jeffreybrown has a spectacular aura aboutjeffreybrown has a spectacular aura about
Default

Good news and you are very welcome.
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
best option for vlookup formula Possible to use an existing vlookup formula to also insert correct info and trigger a SUM formula innkeeper9 Excel 2 09-13-2016 08:59 PM
best option for vlookup formula VLOOKUP Formula? ekeithjohnson Excel 6 08-28-2014 01:16 PM
best option for vlookup formula Vlookup formula teza2k06 Excel 2 03-18-2014 01:21 PM
best option for vlookup formula I think I need an IF/AND & VLOOKUP formula here Catbert Excel 18 08-25-2013 07:38 PM
Help with VLOOKUP formula pattyr Excel 6 08-20-2012 02:20 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 02:15 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