Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi;
My range is Column R from row 2 to lastrow - where last row is approx row 5000. My Formula is: =IF(LEFT(M:M,1)="H",IF(LEFT(O:O,1)="I",1,3),IF(LEF T(O:O,1)="I",2,4)) I would like to write the formula to the range. How is this done. Thank you, -- Martin |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Range("R2:R" & LastRow).Formula =
"=IF(LEFT(M:M,1)=""H"",IF(LEFT(O:O,1)=""I"",1,3),I F(LEFT(O:O,1)=""I"",2,4))" -- HTH Bob Phillips (remove nothere from the email address if mailing direct) "Martin" wrote in message ... Hi; My range is Column R from row 2 to lastrow - where last row is approx row 5000. My Formula is: =IF(LEFT(M:M,1)="H",IF(LEFT(O:O,1)="I",1,3),IF(LEF T(O:O,1)="I",2,4)) I would like to write the formula to the range. How is this done. Thank you, -- Martin |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How to write an array to a range without looping | Excel Worksheet Functions | |||
How to write (Selected range - 1) | Excel Discussion (Misc queries) | |||
How do I write formula to check a range of cells? | Excel Worksheet Functions | |||
how to write formula for countif (range,"<2" &"3") | Excel Discussion (Misc queries) | |||
Show one range in a combobox and write the 2nd range! | Excel Programming |