Solved

Excel - Need of formula's to split up lines into different sheets (there is more then 1 criteria)

Posted on 2014-11-11
12
124 Views
Last Modified: 2014-11-11
Hi Guys,

I'm quite new to Excel and need to make a complex workbook with some formula's.

Case:
I have a lot of lines which i need to split up into to different sheets, so in that case i need to categorize the lines one by one and for that i have made a column where i will choose if its Letter A1, Letter A2, Letter B1 or Letter B2, from that i want it to give me a specific text string that i would be able to use vlookup on.

i hope this make sense else please ask :)

thanks in advance
0
Comment
Question by:Hakum
  • 5
  • 5
  • 2
12 Comments
 
LVL 29

Expert Comment

by:gowflow
ID: 40434525
ok what do you want exactly and can you post a sample workbook with your data so we can be clearer.
gowflow
0
 
LVL 1

Author Comment

by:Hakum
ID: 40434542
I have tried to make an example, kindly view the notes aswell where i have tried to explain :)

i'm sorry if its confusing!
example.xlsx
0
 
LVL 32

Expert Comment

by:Rob Henson
ID: 40434558
If you have a column containing your reference A1, A2, B1, B2 you can use the Advanced Filter to extract required values to another sheet.

The Adv Filter window is fairly self explanatory but does have a couple of quirks:

1) Each Header on the source sheet must be the same as the equivalent on the destination sheet; they don't have to all be there or be in the same order but those that are used must match.

2) If you want to copy data to another sheet, you must select a blank area on the destination sheet before instigating the Adv Filter routine.

Other option would be use Auto Filter and then copy the filtered results manually. When a data table is filtered and copied, only the visible rows will be copied.

Thanks
Rob H
0
 
LVL 1

Author Comment

by:Hakum
ID: 40434685
Thanks for the advise Rob, i have tried to look into the Adv. filter, but i cant really figure out how to give it a criteriea only to show it choosen data on the sheets.. is that possible?
0
 
LVL 32

Accepted Solution

by:
Rob Henson earned 500 total points
ID: 40434720
The criteria has to be a separate small table of data. There must be at least one header and it must same as header in data. The criteria then listed in cells beneath.
0
 
LVL 1

Author Comment

by:Hakum
ID: 40434744
I have found away around, and closer to what i want to achive so that you for the help, i will create another question since its regarding a formula with alot of IF functions and i'm not able to use since it seems likes its too long and cannot be nested Excel says.
0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
LVL 29

Expert Comment

by:gowflow
ID: 40434746
I have seen your file but still not clear to me.

Do you want to distribute the rows in sheet data to their corresponding Sheets as per column I ? if yes I can draw a macro for you but still I don't understand this Code Column why you have it there ?


From this i would need the formula that i would split the data into diffrent sheets, depending on what type & lettertype choosen.

Eg. If type is Big and Lettertype is A1-Letter1 then it should give a code like bigAL1

And from that split it would then the from a Vlookup the other sheets with retrieve data into the sheets

Not clear what you meant in this comment.
gowflow
0
 
LVL 29

Expert Comment

by:gowflow
ID: 40434750
WOW your quick in closing this question !!!
I hope you found your answer as I see you rate it Average so if you are not convinced pls let me know I will be glad to assist.
gowflow
0
 
LVL 1

Author Comment

by:Hakum
ID: 40434752
Thats is Exactly what i wanted! the code colloumn was only becouse i was looking into doing a vlookup from the other sheets... instead..
0
 
LVL 29

Expert Comment

by:gowflow
ID: 40434754
I just saw your comment about the formula and don't know who told you that it would be too long ... anyway just state what you need exactly and let us do the job.
gowflow
0
 
LVL 29

Expert Comment

by:gowflow
ID: 40434756
ok then I can build a macro for you that will do that in no sweat Just post a link of the new question here and will be glad to assist as this one is closed.
gowflow
0
 
LVL 1

Author Comment

by:Hakum
ID: 40434785
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Microsoft Office Picture Manager is not included in Office 2013. This comes as a shock to users upgrading from earlier versions of Office, such as 2007 and 2010, where Picture Manager was included as a standard application. This article explains how…
Some code to ensure data integrity when using macros within Excel. Also included code that helps secure your data within an Excel workbook.
This Micro Tutorial will demonstrate in Google Sheets how to use the HYPERLINK function to create live links inside your spreadsheet.
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

932 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now