Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 01-10-2012, 09:51 AM
Spanec Spanec is offline IF Check Field and return content (Small DB-table) Windows XP IF Check Field and return content (Small DB-table) Office 2003
Novice
IF Check Field and return content (Small DB-table)
 
Join Date: Jan 2012
Posts: 7
Spanec is on a distinguished road
Smile IF Check Field and return content (Small DB-table)

I have a IF issue . I Have a Data Table in Sheet1 with Code and Description data(Text and Numbers) . I want to make a Sheet2 that will accept data grom QR Reader at column Code, check for that data in the DB table (Sheet1) and return data from the next Column in the row where the data was found.




Sheet1
Code Description
bla blablabla
.
.

Sheet2:
Code Description
Read from the QR Scaner If Code (Sheet2)=any Code(Sheet1), return Description from Sheet1

If Code=bla (Read with BarCode Reader) than Description=blablabla (auto filed from Sheet1Description)

Last edited by Spanec; 01-10-2012 at 02:15 PM. Reason: More clear
Reply With Quote
  #2  
Old 01-10-2012, 11:54 AM
Pecoflyer's Avatar
Pecoflyer Pecoflyer is offline IF Check Field and return content (Small DB-table) Windows XP IF Check Field and return content (Small DB-table) Office 2003
Expert
 
Join Date: Nov 2011
Location: Brussels Belgium
Posts: 2,779
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
maybe you need the VLOOKUP function
__________________
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-2012, 02:09 PM
Spanec Spanec is offline IF Check Field and return content (Small DB-table) Windows XP IF Check Field and return content (Small DB-table) Office 2003
Novice
IF Check Field and return content (Small DB-table)
 
Join Date: Jan 2012
Posts: 7
Spanec is on a distinguished road
Default

Quote:
Originally Posted by Pecoflyer View Post
Hi
maybe you need the VLOOKUP function
I;m trying to use all LOOKUP's (V,L) but they doesn't work correctly...
Reply With Quote
  #4  
Old 01-11-2012, 02:02 AM
Pecoflyer's Avatar
Pecoflyer Pecoflyer is offline IF Check Field and return content (Small DB-table) Windows XP IF Check Field and return content (Small DB-table) Office 2003
Expert
 
Join Date: Nov 2011
Location: Brussels Belgium
Posts: 2,779
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

Please post a small sample sheet with what you have and what you need
__________________
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-2012, 06:03 AM
Spanec Spanec is offline IF Check Field and return content (Small DB-table) Windows XP IF Check Field and return content (Small DB-table) Office 2003
Novice
IF Check Field and return content (Small DB-table)
 
Join Date: Jan 2012
Posts: 7
Spanec is on a distinguished road
Default

I have a sample of what i CAN NOT solve ... Thanks a lot!

Sheet1:
Code Description Number
Code1 Description1 Number1
Code2 ................ ...........
.....
...


Sheet2
Code Description Number

Now:
Exp: Row 4 (First Code B-column = B4)
B4(Code)=Read a Code from BarCode Reader (auto entry)

C4(Description)=(I need to check what data have in Code - B4 (auto entry), search for that data in Code (Columnn-B from Sheet1) and when find the same mach, I want to bring tha data from the same row from (Columnn-D from Sheet1) Description (Exp: If BarCodeReader at B4 read Number 15, then I want C4 to show Description15 (from Sheet1)

D4(Number)=(I need to check what data have in Description - C4, search for that data in Description (Columnn-C) from Sheet1 and when find the same mach, I want to bring tha data from the same row from (Columnn-D) Number (Exp: If Description become Description15 (at C4) than in the D4 I want to have Number15 (from Sheet1 )
Reply With Quote
  #6  
Old 01-11-2012, 06:12 AM
Pecoflyer's Avatar
Pecoflyer Pecoflyer is offline IF Check Field and return content (Small DB-table) Windows XP IF Check Field and return content (Small DB-table) Office 2003
Expert
 
Join Date: Nov 2011
Location: Brussels Belgium
Posts: 2,779
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

Spanec, it would be easier working on a real sheet. You can attach one by editing a post, clicking "Go advanced", click the paperclip and attach your sheet
__________________
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-2012, 06:40 AM
Spanec Spanec is offline IF Check Field and return content (Small DB-table) Windows XP IF Check Field and return content (Small DB-table) Office 2003
Novice
IF Check Field and return content (Small DB-table)
 
Join Date: Jan 2012
Posts: 7
Spanec is on a distinguished road
Default

Thanks for all your help... This can be solved with =LOOKUP(B:B,Sheet1!B:B,Sheet1!C:C)....

BUT, the data need to be Data - Sort ... Ascending and not more then two column that will be searchig ... I did it.

I'm sending the sample!
Attached Files
File Type: xls ExcelFormulaForScanForm.xls (24.5 KB, 13 views)
Reply With Quote
  #8  
Old 01-11-2012, 12:41 PM
Pecoflyer's Avatar
Pecoflyer Pecoflyer is offline IF Check Field and return content (Small DB-table) Windows XP IF Check Field and return content (Small DB-table) Office 2003
Expert
 
Join Date: Nov 2011
Location: Brussels Belgium
Posts: 2,779
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

Is the attached something you can live with?
Attached Files
File Type: xls Copy of ExcelFormulaForScanForm.xls (25.0 KB, 13 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-12-2012, 06:55 AM
Spanec Spanec is offline IF Check Field and return content (Small DB-table) Windows XP IF Check Field and return content (Small DB-table) Office 2003
Novice
IF Check Field and return content (Small DB-table)
 
Join Date: Jan 2012
Posts: 7
Spanec is on a distinguished road
Default

Hi Pecoflier,

I'm not an expert for Excel, like you are . And You already Helped me. This solve the problem, I hope , but I will be very happy and thankfull If you can Help me with some other idea. Thanks!
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
IF Check Field and return content (Small DB-table) small caps auto check gene Word 1 12-03-2011 03:04 PM
IF Check Field and return content (Small DB-table) Table of content problem csharper Word 1 10-02-2011 10:19 AM
IF Check Field and return content (Small DB-table) HTML Content in Mail Merge Field Ilmater Mail Merge 1 09-04-2011 02:47 AM
Table of Content Eat up RAM Resources Tommy Word 0 08-23-2010 10:08 PM
How to use the content of a combobox for {IF} field? Melaanie Word 0 06-14-2010 02:00 AM

Other Forums: Access Forums

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