+ Reply to Thread
Results 1 to 3 of 3

IF function query - Blank cells

Hybrid View

  1. #1
    Registered User
    Join Date
    01-26-2005
    Posts
    15

    IF function query - Blank cells

    Good morning (or afternoon whereever in the world you are!)

    I would like to have a cell input a value only if another cell has text put into it.

    For example, if I had a staff roster which only gave a salary value if the name cell had been filled in, otherwise it would return a zero value.

    I tried to use the following:

    =IF(D3="*", F3*E3, 0.00)

    but it doesn't work.

    I guess what i'm asking is for the formula to do this:

    If D3 contains any text, then multiply F3 by E3, otherwise return 0.00.

    DOes anyone know how i can do this?

    Thanks

  2. #2
    Registered User
    Join Date
    10-16-2004
    Posts
    21
    Hi
    Just changed it a bit

    =IF(D3="",0.00, F3*E3)

    it now says if D3 = blank then put in 0.00 else multiply F3 by E3

    hope it helps

  3. #3
    Forum Contributor Kieran's Avatar
    Join Date
    10-02-2003
    Location
    Perth, Western Australia
    MS-Off Ver
    Office 2003
    Posts
    109
    Try

    =IF(istext(D3), F3*E3, 0.00)

    Note that a space is treated as text, so if you need to clear a cell - dont enter space, use the delete key.
    Kieran

+ 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