Hi
I have attached the sample excel of exact replica of original with sheet names input and output. Obviously output is what required. It is little complicated. I would really appreciate your timely help on this.
Excel version - 2010
Hi
I have attached the sample excel of exact replica of original with sheet names input and output. Obviously output is what required. It is little complicated. I would really appreciate your timely help on this.
Excel version - 2010
So you want it to group all Name1's together by date and then Name2s and so forth?
or would all the Date1s come first with names grouped and then Date2s?
In other words, would your next entry be
Name1 Date2
or
Name2 Date1?
Orrrr
Do you just want the output to show the filtered values (new layout)?
ChemistB
My 2?
substitute commas with semi-colons if your region settings requires
Don't forget to mark threads as "Solved" (Edit First post>Advanced>Change Prefix)
If I helped, Don't forget to add to my reputation (click on the little star at bottom of this post)
Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble
grouped by names first then date, plan, risk....as shown in the output
Name1. date1, date2...plan1,
Name2. date1, date2...plan1
in b3 of outout sheet and make sure the type1 should be same in both in Input & Output sheetFormula:Please Login or Register to view this content.
Punnam
thanks for the reply. Let me make it some more clear
If Name1 in output matches with input, then it should bring out the values of corresponding dates,plan,risk . After which under types it should give count on respective match
Did the function worked the requirement ?
Try
E3Formula:Please Login or Register to view this content.
Drag towards the cell
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)
Sorry punnam. It was taking only counts of types. However if Name1 in output matches with input, then it should bring out the values of corresponding dates ,plan, risk. Col.B,C,D of Output sheet is variable based on Input sheet(If Name1 matches it should bring these fields from Input).
you want Columns B,C,D to be populated based on Column A in Output sheet ?
Last edited by Punnam; 05-11-2017 at 02:43 AM.
@ krajivgandhi
i Have uploaded the revised sheet in post 9 Check is this what you are looking for ?
Punnam
exactly. and then those count formulas will work accordingly. Thanks
You need to change the name only in this sheet .
The formula in Column B,C,D is a array function so after any correction made need to be clicked with Ctrl+Shift+Enter not just enter
if everything is taken care mark the thread solved
Punnam
Last edited by Punnam; 05-11-2017 at 02:53 AM.
wow...we are almost there. But I have checked it for name2, name3 with array formula. it did not work. may be I have gone wrong somewhere. pls refer attached and correct me
hi,
necessary changes have done please check the sheet.
Punnam
You will need to use an approach shown in the attached:
in INPUT M:O
Table which counts number of entries for each name plus cumulative (O2 must be 0)
in B3 of OUPUT
=IFERROR(INDEX(INPUT!$A$2:$A$12,SMALL(IF(INPUT!$B$2:$B$12=OUTPUT!$A3,ROW(INPUT!$B$2:$B$12)-ROW(INPUT!$B$2)+1),ROWS($1:1)-VLOOKUP($A3,INPUT!$M$2:$O$4,3,0))),0)
...confirmed by pressing CTRL+SHIFT+ENTER to activate the array, not just ENTER. You will know the array is active when you see curly braces { } appear around your formula. If you do not CTRL+SHIFT+ENTER you will get an error or a clearly incorrect answer.
Copy down
repeat for c and D changing highlighted range
Ideally we need additional formula to create "Names" column A in output
I am "out of the office" for most of the day.
Hi Punnam, Sorry for the late reply. In the attached excel, you have put formula for Name 3. However the excel had not picked corresponding data for Name 3. Could you please help on this regard
Hi john, Thanks a lot. Your attachment is suffice.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks