+ Reply to Thread
Results 1 to 3 of 3

How not to count a field with words in forumla

  1. #1
    Registered User
    Join Date
    07-22-2016
    Location
    UK
    MS-Off Ver
    2007
    Posts
    57

    How not to count a field with words in forumla

    Hi all,

    I have a formula in column C that calculates the working days between 2 days (Column A to B). If there is no value in column B I want it to warn me that "No report date recorded".

    In column D I want to calculate if the days counted in column c are within target. In this instance the target is 25 days or less.

    I have done this for both of the above in the attached.

    I am then going to count all the 1's in D as these are within target. However when no date has been entered in B, it is correctly warning me, but it is also considering the value to be less that 25. If there is no value in B, I want it to consider this as a within target value (to show a 1 in D, rather than a 0)
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    03-20-2015
    Location
    Primarily UK, sometimes NL
    MS-Off Ver
    Work: Office 365 / Home: Office 2010
    Posts
    2,405

    Re: How not to count a field with words in forumla

    Two possibilities:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    or
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Regards,
    Aardigspook

    I recently started a new job so am a bit busy and may not reply quickly. Sorry - it's not personal - I will reply eventually.
    If your problem is solved, please go to 'Thread Tools' above your first post and 'Mark this Thread as Solved'.
    If you use commas as your decimal separator (1,23 instead of 1.23) then please replace commas with semi-colons in your formulae.
    You don't need to give me rep if I helped, but a thank-you is nice.

  3. #3
    Forum Guru
    Join Date
    02-27-2016
    Location
    Vietnam
    MS-Off Ver
    2016
    Posts
    5,899

    Re: How not to count a field with words in forumla

    Or try this ...

    =--(N(C2)<=25)

+ 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. Count of # of words in a column and report on all words
    By ramsdesk in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 03-08-2016, 04:44 AM
  2. taking words and populating with forumla
    By edmondsr in forum Excel General
    Replies: 8
    Last Post: 01-21-2016, 07:14 PM
  3. Replies: 5
    Last Post: 09-02-2014, 03:49 PM
  4. Replies: 0
    Last Post: 05-26-2013, 11:33 AM
  5. Help! Count how many words in a sentence match a dictionary of words
    By sonyaelis in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 03-06-2013, 05:31 AM
  6. Replies: 3
    Last Post: 03-03-2012, 12:16 PM
  7. Count words-I want a function that can count the words in a cell
    By wilhelm in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 04-19-2009, 03:41 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