Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I have the following formula in j2
=IF(AND(B2="Amount",C2<0),C2,IF(AND(B2="Amount",C 2=0,H2<0),"DIRECT",9)) Hi, Im trying to incorporate the above formula into a macro (below) but am having some problems with the elses and nesting. For i = 1 to 100 f Cells(i, 2) = "Amount" Then If Cells(i, 3) < 0 Then Cells(i, 10) = Cells(i, 3) Else If ....... End If End If Next End Sub |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Formulae Help | Excel Worksheet Functions | |||
help with a formulae | Excel Discussion (Misc queries) | |||
Formulae: Paste value formulae after doing an average operation | Excel Discussion (Misc queries) | |||
Formulae | Excel Worksheet Functions | |||
Searching TEXT in formulae, rather than results of formulae | Excel Worksheet Functions |