hi everyone !
i need help on the codes that can be used for the project im doing now im new to excel and im tasked for this challenging project. i sucks at it so please help
for example :
i have 2 tables. table A and table B
table A stores the years, category ( apple or orange) , the unit price , quantity bought and total price. Table A basically acts as the raw table.
whereas table B acts as a more summarised table that have year, average1, average 2 , average3. firstly i would need to check if table B have that year data from table A.
for example, table A have 2 rows of data
2014, orange, $0.7, 10 quantity , $7.
2014, apple, $0.6, 9 quantity, $5.4
and on button click i would need to check if table B. have 2014 data .
an example of table B will be like :
2014, 0.9 ( unit price of apple/ unit price of orange) , 0.9 ( quantity of apple/quantity of orange) , 0.8 ( total of apple/total of orange)
this will works for all the years im gonna add in the raw data.
so if im going to add another data for 2015. everything remains the same other then the year and the figures in table A.
the button click will have to check if i have 2015 data in table B. if not , i will add in the 2015 data in table B with all the average counted and placed in the corresponding columns in table B.
i hope this is clear ><. please help me. im stuck.
ill greatly appreciate your help.
thank you!
i need help on the codes that can be used for the project im doing now im new to excel and im tasked for this challenging project. i sucks at it so please help
for example :
i have 2 tables. table A and table B
table A stores the years, category ( apple or orange) , the unit price , quantity bought and total price. Table A basically acts as the raw table.
whereas table B acts as a more summarised table that have year, average1, average 2 , average3. firstly i would need to check if table B have that year data from table A.
for example, table A have 2 rows of data
2014, orange, $0.7, 10 quantity , $7.
2014, apple, $0.6, 9 quantity, $5.4
and on button click i would need to check if table B. have 2014 data .
an example of table B will be like :
2014, 0.9 ( unit price of apple/ unit price of orange) , 0.9 ( quantity of apple/quantity of orange) , 0.8 ( total of apple/total of orange)
this will works for all the years im gonna add in the raw data.
so if im going to add another data for 2015. everything remains the same other then the year and the figures in table A.
the button click will have to check if i have 2015 data in table B. if not , i will add in the 2015 data in table B with all the average counted and placed in the corresponding columns in table B.
i hope this is clear ><. please help me. im stuck.
ill greatly appreciate your help.
thank you!