Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi everyone,
i need some help regarding a big list of entries and dont want to put the data manually. In my list i have some Filenames which contain different information, but there are some significant letters which tells me, which file i have. it's like: FirstNumber_A_Date.pdf SecondNumber_B_Date.pdf ThirdNumber_C_Date.pdf There are only 5 different types of documents which are catagorized by those letters, A, B and C I want to create a =IF function which will write the name of Doc Type into a seperate Column in the same sheet. Filenames are in A1 - A 400 and i want to seperate the Type name (A = Attachment, B = Batch, C = Current) and fill the full length of text into B1 - B400. My problem is, i dont know how to check a single letter in this filenames, i tried it with: =if (A1="*A*";"Attachment";"Batch") I just tried it that way to check if this single letter thing works, but there is the next problem, how do i should write this code, that he check if A and C aren't there, it should give me the information for B. I need a general code therefore. Hope it's easy to understand, hard to explain in a foreign language :) thanks in advance and best regards, Hunt |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Create a list of text from a single cell on several worksheets? | Excel Discussion (Misc queries) | |||
Copy List of text to a single cell? | Excel Discussion (Misc queries) | |||
Copy List of text to a single cell? | Excel Discussion (Misc queries) | |||
How can I add a single letter to text already in a list of cells? | New Users to Excel | |||
concetenate a single cell with a list of text in a text box into . | Excel Programming |