+ Reply to Thread
Results 1 to 3 of 3

Date changes subject to customer type

  1. #1
    Registered User
    Join Date
    09-20-2015
    Location
    Bristol, UK
    MS-Off Ver
    2016 for MAC
    Posts
    1

    Date changes subject to customer type

    Hi,

    I have a sheet that i have attached, where column a has a customer list, column b is delivery, column c is despatch.

    I can get the despatch date being one day before, the delivery date, but i need to be able to write a formula that says that the despatch date should be one day before the delivery date unless the customer in column a = customer b.

    Can some one help please?

    Many thanks,
    Allan
    Attached Files Attached Files

  2. #2
    Forum Expert gmr4evr1's Avatar
    Join Date
    11-24-2014
    Location
    Texas
    MS-Off Ver
    Office 2010 and 2007
    Posts
    3,448

    Re: Date changes subject to customer type

    See attached....
    allanb3048-date-changes-subject-to-customer-type-despatchdate.xlsx

    What do you want it to say/do if it is customer b?

    Edit*
    Place this in C4 of your sheet and drag down
    Please Login or Register  to view this content.
    Last edited by gmr4evr1; 09-20-2015 at 06:01 PM. Reason: Added formula per Ford's request
    1N73LL1G3NC3 15 7H3 4B1L17Y 70 4D4P7 70 CH4NG3 - 573PH3N H4WK1NG
    You don't have to add Rep if I have helped you out (but it would be nice), but please mark the thread as SOLVED if your issue is resolved.

    Tom

  3. #3
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,929

    Re: Date changes subject to customer type

    Dont know what gmr has suggested (please post your formula in your post, so members dont need to open a file), but see if this will give you wnat yo want...
    =IF(A4="Customer B",B4,B4-1)

    Change the bolded part to whatever you need it to be for "Customer B"
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 4
    Last Post: 11-28-2014, 07:53 AM
  2. Counting customer by sales stage & type - complex countifs(...)
    By Tommyy in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 09-13-2014, 12:41 PM
  3. Trying to return max value in vlookup subject to date criteria
    By gregorywwozniak in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 08-21-2013, 05:36 PM
  4. [SOLVED] Selecting a Customer only if the date resides within todays date plus 5 days
    By sanjay.wagjiani in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 04-18-2013, 07:01 AM
  5. changing date in email subject line with vba
    By ConfusedaboutVBA in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 12-09-2012, 07:11 AM
  6. Replies: 1
    Last Post: 07-07-2006, 02:10 PM
  7. Type customer ordered by:countif
    By Laur in forum Excel General
    Replies: 3
    Last Post: 05-16-2005, 04:06 PM

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