How do I go to the next cell that meets criteria
Using Excel, I want to test data in a column to see if each individual entry
in the column meets a criterion (say, equals 3). If it does, I then want to perform certain tasks, using that and otehr relevant data, and enter the results in other cells elsewhere on the sheet or workbook, then go back and test the enst item in the original column of data. If any data item does not meet theinitial criterion, I want to move to the next item in the column, test it and, if it passes, perform the results and store the reults in the next available position of my results section. Any suggestions as to how to go about this in Excel (version Office Xp)? Many thanks to all in advance. |
How do I go to the next cell that meets criteria
Thanks Ardus
Trouble is, I am not at all experienced with VBA or macros - in fact, I have never written a macro yet. So it's just as difficult that way to me! Any clues as to how to do the macro - or at least, how to start it off? Thanks again Neil "Ardus Petus" wrote: Looks easy with a VBA macro. Formulae can't do it. HTH -- AP "Neil" a écrit dans le message de news: ... Using Excel, I want to test data in a column to see if each individual entry in the column meets a criterion (say, equals 3). If it does, I then want to perform certain tasks, using that and otehr relevant data, and enter the results in other cells elsewhere on the sheet or workbook, then go back and test the enst item in the original column of data. If any data item does not meet theinitial criterion, I want to move to the next item in the column, test it and, if it passes, perform the results and store the reults in the next available position of my results section. Any suggestions as to how to go about this in Excel (version Office Xp)? Many thanks to all in advance. |
How do I go to the next cell that meets criteria
Start macro recorder (ToolsMacroNew macro),
do your stuff Stop recording (click in stop in floating toolbar) Have a look at what was recorded (Alt+F8) HTH -- AP "Neil" a écrit dans le message de news: ... Thanks Ardus Trouble is, I am not at all experienced with VBA or macros - in fact, I have never written a macro yet. So it's just as difficult that way to me! Any clues as to how to do the macro - or at least, how to start it off? Thanks again Neil "Ardus Petus" wrote: Looks easy with a VBA macro. Formulae can't do it. HTH -- AP "Neil" a écrit dans le message de news: ... Using Excel, I want to test data in a column to see if each individual entry in the column meets a criterion (say, equals 3). If it does, I then want to perform certain tasks, using that and otehr relevant data, and enter the results in other cells elsewhere on the sheet or workbook, then go back and test the enst item in the original column of data. If any data item does not meet theinitial criterion, I want to move to the next item in the column, test it and, if it passes, perform the results and store the reults in the next available position of my results section. Any suggestions as to how to go about this in Excel (version Office Xp)? Many thanks to all in advance. |
All times are GMT +1. The time now is 05:01 PM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com