Organizing data for a textbook order workbook

djaida

Board Regular
Joined
Apr 27, 2022
Messages
59
Office Version
  1. 365
  2. 2019
  3. 2016
Platform
  1. Windows
After a long back and forth with a kind forum member on one of my questions, I realized this is something I should have done first. I need some feedback on the best way to organize the table for my textbook order workbook.

This is the newly adapted table; I've added / rearranged the following columns in the Listing worksheet: Programme, Academic year, Major, Minor, Year, Semester. Below is the table, and here is the link to the uploaded anonymized file. Am I on the right track when it comes to the organization of the table? Would I be able to eventually develop a drop down menu that has been added above the table and change what is shown below it depending on what options are chosen? Is this achieved with data validation, or with pivot tables and slicers? Or should this be done solely with filtering?

The main question is, how to remove the hardcoded formulas and draw the textbook quantities based on the programme, major, minor and year of the students in the Data worksheet?

ORDER CALCULATIONS MINOR COLUMNS.xlsx
ABCDEFGHIJKLMNOPQRSTUVWXYZAAAB
1THIS IS A PLACEHOLDER
2ProgrammeAcademic yearMajorMinorYearSemester
3 FOREIGN SUPPLIERS LOCAL SUPPLIERS
4 DIRECT ORDER
5ProgrammeAcademic yearMajorMinorYearSemesterCodeTitleLecturerTextbookAuthorPublisherISBNQuantityInstructorIn stockTO ORDERCENGAGEPEARSONSUPPLIER1SUPPLIER2QUOTESupplier FinalPrice finalAvailabilityTrackingCOSTARRIVED #
6Bachelor Degree Programme2023/24Computer Science012CS121Computer Organization and ArchitectureName SurnameComputer Organization and ArchitectureMcGraw-Hill5106$ 40.00$ 50.001SUPPLIER1$ 40.00Pending$ 240.00
7Bachelor Degree Programme2023/24Computer Science012CS122Programming and Problem Solving IIName SurnameProgramming and Problem Solving IIPearson5106$ 50.000PEARSON$ 50.00Pending$ 300.00
8Bachelor Degree Programme2023/24Computer Science012Math123Discrete MathematicsName SurnameDiscrete MathematicsPearson51160$ 50.000 $ -Pending$ -
9Bachelor Degree Programme2023/24Computer Science022CS221Database SystemsName SurnameDatabase SystemsCENGAGE5106$ 50.000CENGAGE$ 50.00Pending$ 300.00
10Bachelor Degree Programme2023/24Computer Science022CS222Operating SystemsName SurnameOperating SystemsWiley5106$ 50.00$ 40.001SUPPLIER2$ 40.00Pending$ 240.00
11Bachelor Degree Programme2023/24Computer Science022CS223Cloud ComputingName SurnameCloud ComputingPearson5106$ 50.000PEARSON$ 50.00Pending$ 300.00
12Bachelor Degree Programme2023/24Computer Science022CS224Design and Implementation in Web EnvironmentsName SurnameDesign and Implementation in Web EnvironmentsPearson5106$ 50.000PEARSON$ 50.00Pending$ 300.00
13Bachelor Degree Programme2023/24Computer Science022CS225Design and Implementation in Web EnvironmentsName SurnameDesign and Implementation in Web EnvironmentsPearson5106$ 50.000PEARSON$ 50.00Pending$ 300.00
14Bachelor Degree Programme2023/24Computer Science032CS321Project managementName SurnameProject managementProject Management Institute5106$ 40.00$ 50.001SUPPLIER1$ 40.00Pending$ 240.00
15Bachelor Degree Programme2023/24Computer Science032CS322Business IntelligenceName SurnameBusiness IntelligencePearson51170$ 50.000 $ -Pending$ -
16Bachelor Degree Programme2023/24Computer Science032CS323Software EngineeringName SurnameSoftware EngineeringPearson51160$ 50.000 $ -Pending$ -
17Bachelor Degree Programme2023/24Computer Science032ENG324Reports and Professional CorrespondenceNo textbook00000 $ -Pending$ -
18Bachelor Degree Programme2023/24Computer ScienceElectrical Engineering32EE325Electrical EngineeringElectrical EngineeringWiley – IEEE Press0000$ 50.00$ 40.000 $ -Pending$ -
19Bachelor Degree Programme2023/24Computer ScienceBusiness32EC326Marketing fundamentalsNo textbook00000 $ -Pending$ -
20Bachelor Degree Programme2023/24Computer ScienceEconomics32EC327Introduction to MacroecenomicsName SurnameIntroduction to MacroecenomicsPearson3104$ 50.000PEARSON$ 50.00Pending$ 200.00
21Bachelor Degree Programme2023/24Computer Science042CS421Applied ProgrammingName SurnameApplied ProgrammingPearson5106$ 50.000PEARSON$ 50.00Pending$ 300.00
22Bachelor Degree Programme2023/24Computer Science042CS422Embedded SystemsName SurnameEmbedded SystemsSpringer 51170$ 40.00$ 50.000 $ -Pending$ -
23Bachelor Degree Programme2023/24Computer Science042CS423Dissertation Research and WritingName SurnameDissertation Research and WritingRed Globe Press / Macmillan51160$ 50.00$ 40.000 $ -Pending$ -
24Bachelor Degree Programme2023/24Computer ScienceElectrical Engineering42EE425Multimedia ElectronicsName SurnameMultimedia ElectronicsPearson2103$ 50.000PEARSON$ 50.00Pending$ 150.00
25Bachelor Degree Programme2023/24Computer ScienceElectrical Engineering42EE426Selected topics in engineeringName SurnameSelected topics in engineeringWiley – IEEE Press2103$ 40.00$ 50.001SUPPLIER1$ 40.00Pending$ 120.00
26Bachelor Degree Programme2023/24Computer ScienceBusiness42EC427Corporate Strategy and Strategic ManagementName SurnameCorporate Strategy and Strategic ManagementCENGAGE2103$ 50.000CENGAGE$ 50.00Pending$ 150.00
27Bachelor Degree Programme2023/24Computer ScienceBusiness42EC428Introduction to financeName SurnameIntroduction to financePearson2103$ 50.000PEARSON$ 50.00Pending$ 150.00
28Bachelor Degree Programme2023/24Computer ScienceEconomics42EC429Corporate Social ResponsibilityName SurnameCorporate Social ResponsibilityPearson1102$ 50.000PEARSON$ 50.00Pending$ 100.00
Listing
Cell Formulas
RangeFormula
N6:N8N6=IF(J6="No textbook",0,(COUNTIFS(Table1[Major],"Computer Science",Table1[Minor],"-",Table1[Year],"1")))
O6:O28O6=IF(J6="No textbook",0,COUNTIF(I6,"<>"))
N9:N13N9=IF(J9="No textbook",0,(COUNTIFS(Table1[Major],"Computer Science",Table1[Minor],"-",Table1[Year],"2")))
N14:N17N14=IF(J14="No textbook",0,(COUNTIFS(Table1[Major],"Computer Science",Table1[Year],"3")))
N18N18=IF(J18="No textbook",0,(COUNTIFS(Table1[Major],"Computer Science",Table1[Minor],"Electronic and Electrical Engineering",Table1[Year],"3")))
N19N19=IF(J19="No textbook",0,(COUNTIFS(Table1[Major],"Computer Science",Table1[Minor],"Business",Table1[Year],"3")))
N20N20=IF(J20="No textbook",0,(COUNTIFS(Table1[Major],"Computer Science",Table1[Minor],"Economics",Table1[Year],"3")))
N21:N23N21=IF(J21="No textbook",0,(COUNTIFS(Table1[Major],"Computer Science",Table1[Year],"4")))
N24:N25N24=IF(J24="No textbook",0,(COUNTIFS(Table1[Major],"Computer Science",Table1[Minor],"Electronic and Electrical Engineering",Table1[Year],"4")))
N26:N27N26=IF(J26="No textbook",0,(COUNTIFS(Table1[Major],"Computer Science",Table1[Minor],"Business",Table1[Year],"4")))
N28N28=IF(J28="No textbook",0,(COUNTIFS(Table1[Major],"Computer Science",Table1[Minor],"Economics",Table1[Year],"4")))
V6:V28V6=IF(AND(ISBLANK(R6),ISBLANK(S6))*(Q6<>0),1,0)
W6:W28W6=IFERROR(FILTER($R$5:$U$5, ($R6:$U6 = X6) * ($R6:$U6 <> "")), "")
X6:X28X6=MIN(R6:U6)*(Q6<>0)
Q6:Q28Q6=IF(N6+O6-P6<0,0,N6+O6-P6)
AA6:AA28AA6=Q6*X6
Cells with Conditional Formatting
CellConditionCell FormatStop If True
F7:F28Expression=$J7:$J29=""textNO
F7:F28Expression=$Y7="Temporarily unavailable"textNO
F7:F28Expression=$Y7="Print on demand"textNO
F7:F28Expression=$Y7="Out of print"textNO
F7:F28Expression=$Z7="Ordered"textNO
F7:F28Expression=$Z7="Arrived"textNO
F7:F28Expression=$Z7="Incomplete"textNO
F7:F28Expression=$Z7="Late"textNO
X29:X1048576,W3:W28Cell Valuecontains "SUPPLIER2"textNO
X29:X1048576,W3:W28Cell Valuecontains "SUPPLIER1"textNO
K29:K1048576,J3:J28Cell Valuecontains "No textbook"textNO
T25:U25Other TypeColor scaleNO
T23:U23Other TypeColor scaleNO
T22:U22Other TypeColor scaleNO
T18:U18Other TypeColor scaleNO
T14:U14Other TypeColor scaleNO
T10:U10Other TypeColor scaleNO
T6:U6Other TypeColor scaleNO
N6:N28,Q6:Q28,AA6:AA28Cell Value=0textNO
W6:W28,L6:L28Cell Valuecontains "CENGAGE"textNO
L6:L28,W6:W28Cell Valuecontains "PEARSON"textNO
V6:AB28,T7:U9,T11:U13,T15:U17,T19:U21,T26:U28,A6:S28Expression=$Y6="Available"textNO
V6:AB6,A6:S6Expression=$J6:$J28=""textNO
V6:AB6,A6:S6Expression=$Y6="Temporarily unavailable"textNO
V6:AB6,A6:S6Expression=$Y6="Print on demand"textNO
V6:AB6,A6:S6Expression=$Y6="Out of print"textNO
V6:AB6,A6:S6Expression=$Z6="Ordered"textNO
V6:AB6,A6:S6Expression=$Z6="Arrived"textNO
V6:AB6,A6:S6Expression=$Z6="Incomplete"textNO
V6:AB6,A6:S6Expression=$Z6="Late"textNO
V7:AB28,T7:U9,P7:S25,T11:U13,T15:U17,T19:U21,P26:U28,A7:O28Expression=$K7:$K29=""textNO
V7:AB28,T7:U9,P7:S25,T11:U13,T15:U17,T19:U21,P26:U28,A7:O28Expression=$Y7="Temporarily unavailable"textNO
V7:AB28,T7:U9,P7:S25,T11:U13,T15:U17,T19:U21,P26:U28,A7:O28Expression=$Y7="Print on demand"textNO
V7:AB28,T7:U9,P7:S25,T11:U13,T15:U17,T19:U21,P26:U28,A7:O28Expression=$Y7="Out of print"textNO
V7:AB28,T7:U9,P7:S25,T11:U13,T15:U17,T19:U21,P26:U28,A7:O28Expression=$Z7="Ordered"textNO
V7:AB28,T7:U9,P7:S25,T11:U13,T15:U17,T19:U21,P26:U28,A7:O28Expression=$Z7="Arrived"textNO
V7:AB28,T7:U9,P7:S25,T11:U13,T15:U17,T19:U21,P26:U28,A7:O28Expression=$Z7="Incomplete"textNO
V7:AB28,T7:U9,P7:S25,T11:U13,T15:U17,T19:U21,P26:U28,A7:O28Expression=$Z7="Late"textNO
T24:U24Expression=$K24:$K46=""textNO
T24:U24Expression=$Y24="Available"textNO
T24:U24Expression=$Y24="Temporarily unavailable"textNO
T24:U24Expression=$Y24="Print on demand"textNO
T24:U24Expression=$Y24="Out of print"textNO
T24:U24Expression=$Z24="Ordered"textNO
T24:U24Expression=$Z24="Arrived"textNO
T24:U24Expression=$Z24="Incomplete"textNO
T24:U24Expression=$Z24="Late"textNO
Cells with Data Validation
CellAllowCriteria
Y6:Y28List=Data!$R$3:$R$6
Z6:Z28List=Data!$R$9:$R$13
 

Excel Facts

Show numbers in thousands?
Use a custom number format of #,##0,K. Each comma after the final 0 will divide the displayed number by another thousand

Forum statistics

Threads
1,224,815
Messages
6,181,136
Members
453,021
Latest member
Justyna P

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top