Results 1 to 13 of 13

Update cell based on several criteria using VBA

Threaded View

  1. #1
    Forum Contributor
    Join Date
    08-15-2006
    Location
    USA
    MS-Off Ver
    Office 365, 64 bit
    Posts
    372

    Update cell based on several criteria using VBA

    I tried under the formula forum and it was suggested that the best solution would be VBA... so I'm going to try here...

    I'm trying to automate a column for the users where a "Type" is updated based on the criterion below... This would really save them a lot of time as they deal with over 200 rows per file and they update the type per each manually - this is daily as its changes frequently... please refer to the attachment

    Criteria:
    IF columns E or F have a total greater than $0, enter MDE in the corresponding row in column D
    IF column D already has MDE in the cell because columns E or F calculated 1st to update it, and any column from G - N has a total less than or greater than $0, leave as MDE
    IF column D has no MDE because columns E or F equals to $0, than update as CR if row 4 has a CR number (the CR number is unique)
    IF column D has no MDE because columns E or F equals to $0, than update as Other if row 4 has an Other (Other may appear more than 1 time)
    If any of the columns have $0 and row 4 is empty (in this case J - N, do nothing


    Note: columns E or F need to be precede the calculation (be calculated 1st) for column D before the other 4...
    Attached Files Attached Files

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Update cell based on several IF criteria
    By rz6657 in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 07-24-2017, 07:41 PM
  2. Status update based on criteria
    By Sanjibghosh in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 07-20-2017, 04:38 AM
  3. [SOLVED] userform update table based on 3 criteria
    By adamheon in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 12-29-2016, 04:43 PM
  4. [SOLVED] Update Columns to Another Worksheet, then update another worksheet based on a set criteria
    By mnunnley in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 02-09-2016, 11:31 AM
  5. Replies: 5
    Last Post: 05-19-2015, 05:49 AM
  6. VBA to update a row based on a criteria.
    By thomasra in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 08-23-2013, 02:10 PM
  7. Update Masterfile Based on Criteria
    By Sags in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-11-2012, 10:22 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1