I have a conceptual question about array. When do we use array in excel and why? Cux I am doing doing a project that requires me doing some calculation and generates the report on the other sheet. Basically, I got the purchases/ sales of securities at a certain price. Then i need to find out their total share , total value. With these information, i could calculate the cost of a sale ( cost of a sale = the average price of previous share purchases)
Then, i need to generate a report on the other sheet and give out the cost of sale of the securities.
Cux the report doesnt require total value of shares and total shares. I dont need to print them on the excel. So I was thinking it may be better to store them in an array. But it looks more complicated to this data and retrieve them. So I just put them somewhere in the report. But I still think there are mor efficient way to do this.
My question is
when should i use array to store data?
Then, i need to generate a report on the other sheet and give out the cost of sale of the securities.
Cux the report doesnt require total value of shares and total shares. I dont need to print them on the excel. So I was thinking it may be better to store them in an array. But it looks more complicated to this data and retrieve them. So I just put them somewhere in the report. But I still think there are mor efficient way to do this.
My question is
when should i use array to store data?