Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I'm loop through my data and need to set up an array based on some
conditions. Basically I'd like to do something like this: for j=1 to 18 for rowcount=1 to 1000 if cells(rowcount,2) like "I" then if cells(rowcount,3) like "A" or "B" or "C" then myarray(j) = myarray(j) + cells(rowcount,4) end if end if next rowcount next j What's the code for that? Thanks! --- Message posted from http://www.ExcelForum.com/ |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
IF statement inside a SUMIF statement.... or alternative method | Excel Worksheet Functions | |||
Reconcile Bank statement & Credit card statement & accounting data | Excel Worksheet Functions | |||
Embedding an OR statement in an IF statement efficiently | Excel Discussion (Misc queries) | |||
If statement or lookup statement not sure | Excel Worksheet Functions | |||
appending and IF statement to an existing IF statement | Excel Worksheet Functions |