+ Reply to Thread
Results 1 to 7 of 7

Fill Cell Contents On Multiple Conditions (Formula or VBA)

Hybrid View

  1. #1
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,167

    Re: Fill Cell Contents On Multiple Conditions (Formula or VBA)

    Put this formula in N2, it will populate the table.
    =IF(Table2[[#This Row],[DIST_HS]]>=50,"Zone 2 (Complete Voucher)", IF(AND(Table2[[#This Row],[DIST_HS]]<50,Table2[[#This Row],[ADDY_CITY]]="San Antonio"),"Zone 1A (Local, No Voucher)", IF(AND(Table2[[#This Row],[DIST_HS]]<50,Table2[[#This Row],[ADDY_CITY]]<>"San Antonio"),"Zone 1B (Mileage Only, No Voucher)", "Other")))
    If I have helped, Don't forget to add to my reputation (click on the star below the post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)
    Use code tags when posting your VBA code: [code] Your code here [/code]

  2. #2
    Registered User
    Join Date
    01-12-2012
    Location
    Texas
    MS-Off Ver
    2007/2010
    Posts
    4

    Re: Fill Cell Contents On Multiple Conditions (Formula or VBA)

    I'll give this a try when I get to work in a bit. I also think I see what I was doing wrong...nesting incorrectly.

  3. #3
    Registered User
    Join Date
    01-12-2012
    Location
    Texas
    MS-Off Ver
    2007/2010
    Posts
    4

    Re: Fill Cell Contents On Multiple Conditions (Formula or VBA)

    It worked! Thank you.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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