Paste Formula & Skip Columns

dhewett

New Member
Joined
Nov 22, 2023
Messages
9
Office Version
  1. 365
Platform
  1. Windows
I've tried INDEX and OFFSET. I'm doing something wrong or using the wrong formulas.

Here's a "dumbed down" version of the sheets for reference.

I have a "goals" sheet with goals in columns B-M. I need to include those in my "report" sheet but skip two columns every time I paste or compute the formula.

In other words the goals from columns B-M will be pasted into the report columns B, E, H, K, etc.

Plant A Goals.xlsx
ABCDEFGHIJKLM
1Jan.Feb.MarchAprilMayJuneJulyAug.Sept.Oct.Nov.Dec.
2Daily3,4003,4003,4004,2004,2004,2004,4004,4004,4004,4004,4004,400
goals


Plant A Goals.xlsx
ABCDEFGHIJKLMNOPQRSTUVWXYZAAABACADAEAFAGAHAIAJAK
1Jan 24Feb 24Mar 24Apr 24May 24Jun 24Jul 24Aug 24Sep 24Oct 24Nov 24Dec 24
2PlantDailyGoal%DailyGoal%DailyGoal%DailyGoal%DailyGoal%DailyGoal%DailyGoal%DailyGoal%DailyGoal%DailyGoal%DailyGoal%DailyGoal%
3Plant A
report
Cell Formulas
RangeFormula
E1,H1,K1,N1,Q1,T1,W1,Z1,AC1,AF1,AI1E1=EDATE(B1,1)
 

Excel Facts

How to calculate loan payments in Excel?
Use the PMT function: =PMT(5%/12,60,-25000) is for a $25,000 loan, 5% annual interest, 60 month loan.
You should use Sumif or Sumifs in Cell B3, E3, etc. You would need to change your headers on Goals sheet to be dates and then number format them to show only the month name.

The formula would look something like this in Cell B3:
=Sumifs(Goals!B2:M2,Goals!B1:M1,B1)
This assumes you have dates in row 1 on the Report sheet and the date for January starts in cell B1
 
Upvote 0
Solution
You should use Sumif or Sumifs in Cell B3, E3, etc. You would need to change your headers on Goals sheet to be dates and then number format them to show only the month name.

The formula would look something like this in Cell B3:
=Sumifs(Goals!B2:M2,Goals!B1:M1,B1)
This assumes you have dates in row 1 on the Report sheet and the date for January starts in cell B1
I don't know why I didn't think of that Jeffrey. Simple solution. Thank you for helping overcome my mental fog today!
 
Upvote 0

Forum statistics

Threads
1,215,092
Messages
6,123,063
Members
449,090
Latest member
fragment

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