Macro to copy paste rows if cell value greater than 0

MPFraser7

New Member
Joined
Dec 14, 2016
Messages
34
For range (A2:I413), I want to copy all rows where column I is greater than 0 and paste it in a new sheet and format this new sheet as a table. The values in column I range from 0, "", #value !, negative and positive numbers. I want to copy rows where the numbers are positive. Any help on this?
 
Last edited:
@Yancy
Please start a thread of your own for this.
Thanks
 
Upvote 0

Excel Facts

How to fill five years of quarters?
Type 1Q-2023 in a cell. Grab the fill handle and drag down or right. After 4Q-2023, Excel will jump to 1Q-2024. Dash can be any character.
@Fluff Hello! I see you solved similar case like mine and I would really appreciate the help.
What I need is following:
I have two sheets Ponuda and Otpremnica..
1. When cell value in collumn H (H3:H1500) of sheet Ponuda is greater than 0 to copy items below mentioned to sheet Otpremnica (Row 15-200) and move to the next row... I will further try explain as good as I can...

(Example: We enter following amounts in this order on sheet Ponuda
H10 we enter value of 70 ,
H3 we enter value of 120,
H15 we insert quantity 35

1. Insert quantity to H10 sheet Ponuda
- H10 sheet Ponuda to copy to E15 sheet Otpremnica ,
- B10 sheet Ponuda to copy to B15 sheet Otpremnica,
- I10 sheet Ponuda to copy to F15 sheet Otpremnica

2. Insert quantity to H3
- H3 sheet Ponuda to copy to E16 sheet Otpremnica ,
- B3 sheet Ponuda to copy to B16 sheet Otpremnica,
- I3 sheet Ponuda to copy to F16 sheet Otpremnica

3. Insert quantity to H15
- H15 sheet Ponuda to copy to E17 sheet Otpremnica ,
- B15 sheet Ponuda to copy to B17 sheet Otpremnica,
- I15 sheet Ponuda to copy to F17 sheet Otpremnica

^This to be applied for row 3 - row 1500 on sheet Ponuda


Can this be done?
Sorry for bad English and thanks in advance!
 
Upvote 0
Please start a thread of your own. Thanks
 
Upvote 0

Forum statistics

Threads
1,215,216
Messages
6,123,669
Members
449,114
Latest member
aides

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