Hello Guys I'm working on a list of data and I want to arrange it in such a way like a pivot table. I dont want to use the pivot table option in excel. Also the the data range is coming from a different tab.
table.png
Hello Guys I'm working on a list of data and I want to arrange it in such a way like a pivot table. I dont want to use the pivot table option in excel. Also the the data range is coming from a different tab.
table.png
Will you please attach a SMALL sample Excel workbook (10-20 rows of data is usually enough)? Please don't attach a picture of one (no-one will want to re-type all your stuff before starting).
1. Make sure that your sample data are truly REPRESENTATIVE of your real data. The use of unrepresentative data is very frustrating and can lead to long delays in reaching a solution.
2. Make sure that your desired solution is also shown (mock up the results manually).
3. Make sure that all confidential information is removed first!!
4. Try to avoid using merged cells. They cause lots of problems!
Unfortunately the attachment icon doesn't work at the moment. So, to attach an Excel file you have to do the following: Just before posting, scroll down to Go Advanced and then scroll down to Manage Attachments. Now follow the instructions at the top of that screen.
Glenn
None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU
To best describe or illustrate your problem you would be better off attaching a dummy workbook. The workbook should contain the same structure and some dummy data of the same type as the type you have in your real workbook - so, if a cell contains numbers & letters in this format abc-123 then that should be reflected in the dummy workbook.
To attach a file to your post,
click advanced (next to quick post),
scroll down until you see "manage file",
click that and select "add files" (top right corner).
click "select files" find your file, click "open" click "upload" click 'done" bottom right. click "submit reply"
Once the upload is completed the file name will appear below the input boxes in this window.
You can then close the window to return to the new post screen.
1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
2. If your question is resolved, mark it SOLVED using the thread tools
3. Click on the star if you think someone helped you
Regards
Ford
My apologies for posting an image. Kindly see sample spreadsheet. I want to do is arrange the data without using a pivot table.
Try
M5Formula:Please Login or Register to view this content.
Copy the formula towards N & O column and down.
Row\Col A B C D E F G H I J K L M N O 3Row Labels Row Labels Row Labels Day Date Leave Dates 4VL EL SL Sun01-Jan OFF VL EL SL 5**13-Jan **10-Mar **19-May Mon02-Jan 22:00 13.01.2017 10.03.2017 19.05.2017 6**16-Jan **04-May **05-Jun Tue03-Jan 22:00 16.01.2017 04.05.2017 05.06.2017 7**21-Feb **30-Jun **17-Aug Wed04-Jan 22:00 21.02.2017 30.06.2017 17.08.2017 8**22-Feb **09-Nov **04-Sep Thu05-Jan 22:00 22.02.2017 09.11.2017 04.09.2017 9**24-Mar Grand Total **25-Sep Fri06-Jan 22:00 24.03.2017 25.09.2017 10**19-Apr **26-Sep Sat07-Jan OFF 19.04.2017 26.09.2017 11**29-May **02-Nov Sun08-Jan OFF 29.05.2017 02.11.2017 12**22-Jun Grand Total Mon09-Jan 22:00 22.06.2017 13**03-Jul Tue10-Jan 22:00 03.07.2017 14**04-Jul Wed11-Jan 22:00 04.07.2017 15**05-Jul Thu12-Jan 22:00 05.07.2017 16**06-Jul Fri13-Jan VL 06.07.2017 17**07-Jul Sat14-Jan OFF 07.07.2017 18**23-Nov Sun15-Jan OFF 23.11.2017 19**24-Nov Mon16-Jan VL 24.11.2017 20Grand Total Tue17-Jan 22:00 21 Wed18-Jan 22:00 22 Thu19-Jan 22:00 23 Fri20-Jan 22:00 24 Sat21-Jan OFF 25 Sun22-Jan OFF 26 Mon23-Jan 22:00 27 Tue24-Jan 22:00 28 Wed25-Jan 22:00 29 Thu26-Jan 22:00 30 Fri27-Jan 22:00 31 Sat28-Jan OFF 32 Sun29-Jan OFF
If I helped, Don't forget to add reputation (click on the little star ★ at bottom of this post)
Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)
In A3, copied across and down:
=IFERROR(INDEX($J:$J,SMALL(IF($K$4:$K$368=A$2,ROW($K$4:$K$368)),ROWS(A$2:A2))),"")
This is an array formula. Array Formulae are a little different from ordinary formulae in that they MUST be confirmed in the FIRST CELL ONLY by pressing CTRL+SHIFT+ENTER to activate the array, not just ENTER. After that, the array can be dragged down as normal, to cover the desired range.
You will know the array is active when you see curly brackets { } - or "curly braces" for those of you in the USA, or "flower brackets" for those of you in India - appear around the outside of your formula. If you do not use CTRL+SHIFT+ENTER you will (almost always) get an error message or an incorrect answer. Press F2 on that cell and try again.
Don't type the curly brackets yourself - it won't work...
Appreciate the assistance on this.. this is what I'm looking for..
If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED. Thanks.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks