To calculate the Consumer Price Index between two years in Excel, take a sum of all the amounts spent on the basket of products over those two years. Then use the following formula to find the CPI ...
You can make a bar graph in Excel by first selecting the range you want to depict, and then using the dropdown menu to select the desired chart.