Advanced pasting - IF condition is met

Captain Hindsight

New Member
Joined
Oct 9, 2013
Messages
46
Hi,

I have a long sequence of numbers running horizontally on one tab of a worksheet.

I want to paste this set of numbers into a grid on a separate tab, if the column ref = the row ref ONLY IF the value in column C > 0.

It should look like the below, so as you can see if column C (to the right of the dates) is equal to 0, nothing is returned.
If it is > 0, then where, for example, jan-16 = jan-16, then the horizontal set of numbers is pasted.

Any suggestions?

Thanks

Dec-15</SPAN>Jan-16</SPAN>Feb-16</SPAN>Mar-16</SPAN>Apr-16</SPAN>May-16</SPAN>Jun-16</SPAN>Jul-16</SPAN>
Month of introduction</SPAN>Date</SPAN>1</SPAN>2</SPAN>3</SPAN>4</SPAN>5</SPAN>6</SPAN>7</SPAN>8</SPAN>
1</SPAN>Dec-15</SPAN>1</SPAN>0</SPAN>0</SPAN>0</SPAN>0</SPAN>0</SPAN>0</SPAN>0</SPAN>0</SPAN>
2</SPAN>Jan-16</SPAN>3</SPAN>0</SPAN>0</SPAN>0</SPAN>0</SPAN>0</SPAN>0</SPAN>0</SPAN>
3</SPAN>Feb-16</SPAN>2</SPAN>0</SPAN>0</SPAN>0</SPAN>0</SPAN>0</SPAN>0</SPAN>
4</SPAN>Mar-16</SPAN>2</SPAN>0</SPAN>0</SPAN>0</SPAN>0</SPAN>0</SPAN>
5</SPAN>Apr-16</SPAN>4</SPAN>0</SPAN>0</SPAN>0</SPAN>0</SPAN>
6</SPAN>May-16</SPAN>3</SPAN>0</SPAN>0</SPAN>0</SPAN>
7</SPAN>Jun-16</SPAN>0</SPAN>
8</SPAN>Jul-16</SPAN>3</SPAN>0</SPAN>

<TBODY>
</TBODY><COLGROUP><COL><COL><COL><COL span=8></COLGROUP>
 

Excel Facts

How can you turn a range sideways?
Copy the range. Select a blank cell. Right-click, Paste Special, then choose Transpose.

Forum statistics

Threads
1,214,795
Messages
6,121,624
Members
449,041
Latest member
Postman24

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