Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I receive a monthly spreadsheet (per project number) with approximately 30
columns. The columns are always in the same location, but there may be more or less rows each month depending on the project. I have inserted a column that needs some help coding. For example, Column F is where the cost types are located. Column U is the column that I've inserted that requires the coding. Depending on the cost type in column F, determines the formula that is used in column U. Example: Cost type 5830 (which appears in multiple rows), requires me to use the formula =max(G70,H70) (70 being the row number that would change with each row). Another example is cost type 5320 (which again appears in multiple rows), which would need the formula =if(M70<L70,N70*J70, max(G70,H70,N70*J70)). Is there VBA coding that would loop through each of the cells in the default U column, look into column F and determine which formula to use? And then continue to the next cell in column U and do the same thing? I am fairly new at Excel coding. Help please ? |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Coding issue with Excel 2003 | Excel Discussion (Misc queries) | |||
Excel 2003 coding issue | Excel Discussion (Misc queries) | |||
Please please help!! Weird coding issue | Excel Discussion (Misc queries) | |||
Excel VBA coding - Outlook and Shut down issue | Excel Programming | |||
Excel VBA coding - Outlook and Shut down issue | Excel Worksheet Functions |