ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   if loop (https://www.excelbanter.com/excel-discussion-misc-queries/209641-if-loop.html)

sippe

if loop
 
Hi,

I neeed some help to make a loop, never don that before. How do I get the
computer to find a certain value in a special area of a woorksheet.

For example find and copy all cells with value 1 in row A and B in sheet 1
and paste it into sheet 2.

Thanks for yor help!

Sippe

Satti Charvak[_2_]

if loop
 
Unfortunately looping is not allowed in Excel formulas. You can use looping
only in macros.

Do you want to use macros?

Anyways, why do you require looping for your activity.

why don't you just filter out the date in row a,b for cells which have value
equal to 1, then copy the rows and paste it to sheet 2.

--
Kind Regards,
Satti Charvak
Only an Excel Enthusiast
Noida, India


"sippe" wrote:

Hi,

I neeed some help to make a loop, never don that before. How do I get the
computer to find a certain value in a special area of a woorksheet.

For example find and copy all cells with value 1 in row A and B in sheet 1
and paste it into sheet 2.

Thanks for yor help!

Sippe


sippe

if loop
 
Thank for yuor advice. But yes, I'd like to use macros. I think this would be
a quite easy loop to start with to understand the principal of loops and
conditions.

/sippe

"Satti Charvak" skrev:

Unfortunately looping is not allowed in Excel formulas. You can use looping
only in macros.

Do you want to use macros?

Anyways, why do you require looping for your activity.

why don't you just filter out the date in row a,b for cells which have value
equal to 1, then copy the rows and paste it to sheet 2.

--
Kind Regards,
Satti Charvak
Only an Excel Enthusiast
Noida, India


"sippe" wrote:

Hi,

I neeed some help to make a loop, never don that before. How do I get the
computer to find a certain value in a special area of a woorksheet.

For example find and copy all cells with value 1 in row A and B in sheet 1
and paste it into sheet 2.

Thanks for yor help!

Sippe



All times are GMT +1. The time now is 02:26 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com