Excel formula to update values for specific columns only

vinwin06

New Member
Joined
Dec 9, 2009
Messages
30
Hello all,

I am looking for an excel formula which would pickup from whole data , here with attached data for your reference. Data available in columns like from Jan to Dec and output i dont want to show everything in one go so only selected months need to be shown in output summary. which formula should i write for it. Here with attaching the sample table. Thanks in advance.

Input
Business nameLine itemJan 18Feb 18Mar 18Apr 18May 18Jun 18Jul 18Aug 18Sep 18Oct 18Nov 18Dec 18
GasSales-1.5423.65E-05-3.7E-05-0.46118-0.003940.00058-0.650810.0004190.000405-0.663240-0.0004
VehicleSales0.4092490.3306250.5081090.3286161.2946990.349930.2966690.32370.3177850.3177910.3188280.868142
GasCost0000000-2.2000-0.83482
VehicleCost-3.690992.4174687.55290220.9115510.17526-10.2645-22.039439.16146-119.139-27.314563.04662-9.97523
GasNIBIAT31.24384-35.6563-120.6037.633065-80.2893-27.065916.93894116.006-157.01354.26192.82761-127.001
VehicleNIBIAT38.00016-38.142-125.43-8.75795-92.5182-6.8327438.8882279.18886-59.4034379.9576-47.6821-116.335

<colgroup><col><col span="13"></colgroup><tbody>
</tbody>


Output
Jan 18Feb 18Mar 18YTD
MonthActualLEPlan
Gas
Vehicle

<colgroup><col><col span="6"></colgroup><tbody>
</tbody>
 

Excel Facts

Best way to learn Power Query?
Read M is for (Data) Monkey book by Ken Puls and Miguel Escobar. It is the complete guide to Power Query.
You can play a little with a pivot table and check if the result is what you need.

ad569729a1c18165f521172fcf4febc1.jpg
 
Upvote 0
You could also try this formula, copied across and down.

Excel Workbook
ABCDEFGHIJKLMN
1Business nameLine itemJan-18Feb-18Mar-18Apr-18May-18Jun-18Jul-18Aug-18Sep-18Oct-18Nov-18Dec-18
2GasSales-1.5423.65E-05-3.70E-05-0.46118-0.003940.00058-0.650810.0004190.000405-0.663240-0.0004
3VehicleSales0.4092490.3306250.5081090.3286161.2946990.349930.2966690.32370.3177850.3177910.3188280.868142
4GasCost0000000-2.2000-0.83482
5VehicleCost-3.690992.4174687.55290220.9115510.17526-10.2645-22.039439.16146-119.139-27.314563.04662-9.97523
6GasNIBIAT31.24384-35.6563-120.6037.633065-80.2893-27.065916.93894116.006-157.01354.26192.82761-127.001
7VehicleNIBIAT38.00016-38.142-125.43-8.75795-92.5182-6.8327438.8882279.18886-59.4034379.9576-47.6821-116.335
8
9
10Jan-18Feb-18Mar-18
11Month
12Gas29.70184-35.6562635-120.603037
13Vehicle34.718419-35.393907-117.368989
Extract
 
Upvote 0

Forum statistics

Threads
1,214,520
Messages
6,120,017
Members
448,936
Latest member
almerpogi

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