![]() |
![]() |
|
|||||||
| Excel Questions All Excel/VBA questions - formulas, macros, pivot tables, general help, etc. Please post to this forum in English only. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
New Member
Join Date: Apr 2002
Location: Kully
Posts: 9
|
Hi All
Is there a way of inserting a row if the value in the cell below is > the value in the cell? ie if in A1 we have 5 and in A2 we have 7 I would need to insert a row below A1. I would prefer not to do this using VB. Many thanks |
|
|
|
|
|
#2 | |
|
MrExcel MVP
Join Date: Feb 2002
Location: Sydney, Australia
Posts: 2,908
|
Quote:
regards, Dan |
|
|
|
|
|
|
#3 |
|
Banned
Join Date: Feb 2002
Posts: 1,582
|
Hi KJ
If you would prefer a manual approach then try this. In cell B1 put: =IF(A1>A2,1,"") Copy this down as far as needed. Now select all of Column B, push F5, Click "Special", check "Formulas" and uncheck all except "numbers" and Click Ok. Now go to Insert>Rows |
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|