Column A has dates.
B2 has Book Code like "001,002,003".
B3 has book code "006,008,005,009,001,002". So, maximum book codes in Column B is 6.
Column C has No. of Books.
Column D has Mode. Purchase is 1, Sent is 2.
If books are purchased, then 1 is entered in D, only one book code is entered in B and no. of books purchased is entered in C. More than 1 book is normally purchased.
But only one book per code is sent normally. So, if books are sent, then 2 is entered in D, maximum of 6 book codes or less are entered in B and one book per code is entered in C. eg. If "001,002,003" is entered in B2 then, 3 is entered in C2.
a2: 23/4/09 b2: 003 c2: 1 d2:2
a3: 24/4/09 b3: 002 c3: 1 d3: 2
a4: 23/4/09 b4: 001 c4: 5 d4: 1
a5: 23/4/09 b5: 007,009,008,006,001 c5:1 d5:2
Help me to find out how many books on each code was purchased and sent?
MichP 0 Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.