Help on VB

Closed
Saum - 28 May 2009 à 09:22
mubashir aziz Posts 190 Registration date Sunday 12 April 2009 Status Member Last seen 16 February 2010 - 28 May 2009 à 22:37
Hello,
I am trying to copy only those rows from sheet 1 to 2 where column 1 in sheet 1 > column 2 in sheet1. It is quite simple but I have not done any vb. PLease help
Thanks
Saum
Related:

1 response

mubashir aziz Posts 190 Registration date Sunday 12 April 2009 Status Member Last seen 16 February 2010 166
28 May 2009 à 22:37
Suppose you are comparing Column A & B in Sheet1 and then want values in Sheet2 ....

Write this formula in Sheet2 Cell A1 and drag it down only values of column! of sheet1 will appear which are > Column B ......


Sheet2!A1 =IF(Sheet1!A1>Sheet1!B1,Sheet1!A1,"")