Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 791
Default If statment help needed

If the File name is typed on cell c1 for example:
on d1 you can have a formula similar to this
=vlookup(c1,sheet2!A1:B25,2,False)
This assumes that you have the File Name in Column A on sheet2 and in Column
B you have the Avery Label Code. Change the Range reference to suit your
needs.
--
If this posting was helpful, please click on the Yes button.
Regards,

Michael Arch.




"Nydia" wrote:

OK, I hope that I can explain this properly.

I have an excel workbook with 2 worksheets. The purpose of this worksheet
is to keep track of labels that I make for various people. So the first
sheet has label information and the second sheet has label specification (for
ex. a legal folder will use an avery 5161 label. What I am hoping to do is
create an if statement. One column in worksheet 1 is file type. The choices
are legal, letter, redwell. I want an if statement so that when the file
type is entered, it will automatically look into spreadsheet 2 and give what
label should be used. Makes sense? I hope so.

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
IF Statment Momo Excel Discussion (Misc queries) 2 December 7th 08 01:56 AM
IF Statment Momo Excel Worksheet Functions 2 December 6th 08 02:24 PM
Help with If statment pm Excel Discussion (Misc queries) 3 January 29th 08 04:09 PM
if statment Dreamstar_1961 Excel Worksheet Functions 5 April 17th 07 01:30 PM
If statment helpdesk genie Excel Worksheet Functions 2 January 12th 05 03:23 AM


All times are GMT +1. The time now is 05:02 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"