+ Reply to Thread
Results 1 to 11 of 11

IF cell BLANK enter text

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

    IF cell BLANK enter text

    I have a data tab with a column that has text but also has empty cells (blank cells). I need for each cell that has no value / empty to be replaced with the following text: "Blank" while ignoring the cells that do have values... I would do this manually but it has over 8k rows. Thanks.

    Data starts at R5 (only that column R)

    Added example file -
    Attached Files Attached Files
    Last edited by rz6657; 01-26-2015 at 06:55 PM. Reason: Added file -

  2. #2
    Forum Guru AlKey's Avatar
    Join Date
    07-20-2009
    Location
    Lakeland, FL USA
    MS-Off Ver
    Microsoft Office 2010/ Office 365
    Posts
    8,903

    Re: IF cell BLANK enter text

    Just out of curiosity, why do you want blank cells to say "Blank"?
    If you like my answer please click on * Add Reputation
    Don't forget to mark threads as "Solved" if your problem has been resolved

    "Nothing is so firmly believed as what we least know."
    --Michel de Montaigne

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

    Re: IF cell BLANK enter text

    Each row has expense and capital totals. Where there is no vendor linked to the totals by row it will be an empty cell. However, I still need to quantify the empty cells into the overall grand totals - by placing "blank" I can then use that as a criteria to count using the SUMIFs formula

  4. #4
    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
    53,048

    Re: IF cell BLANK enter text

    You could also use =""....

    =sumifs(A:A,B:B,1,C:C="")
    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

  5. #5
    Forum Guru AlKey's Avatar
    Join Date
    07-20-2009
    Location
    Lakeland, FL USA
    MS-Off Ver
    Microsoft Office 2010/ Office 365
    Posts
    8,903

    Re: IF cell BLANK enter text

    You can also count blanks

    =COUNTIF(A2:A7,"")

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

    Re: IF cell BLANK enter text

    I have multiple criteria: by year, by month, by project, by Vendor, etc...

  7. #7
    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
    53,048

    Re: IF cell BLANK enter text

    Well you can still use the same method, with however many criteria you have. "No data" is a searchable criteria

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

    Re: IF cell BLANK enter text

    I don't need to count the blank cells. I need to sum the totals in column AB that have empty cell in column R...

    For example: my sumifs formula will sum what's in column AB by PID, by Month and by Vendor Name (these are columns in the attached file) . However, if there is no Vendor name the formula in a different tab will not sum...

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

    Re: IF cell BLANK enter text

    It's not summing where cell is empty

  10. #10
    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
    53,048

    Re: IF cell BLANK enter text

    =sumifs(y5:y43,r5:r43,"")
    104719.93

  11. #11
    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
    53,048

    Re: IF cell BLANK enter text

    Or this...
    =SUMIFS($AB$5:$AB$43,$D$5:$D$43,"PID1",$N$5:$N$43,12013,$S$5:$S$43,"")
    19056

+ 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. [SOLVED] If Cell is blank, enter max date
    By jlo33 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 06-17-2013, 12:23 AM
  2. Enter text in same cell using alt+enter
    By vijanand1279 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 05-27-2013, 11:16 AM
  3. [SOLVED] How to enter blank spaces before and after text in a particular cell
    By amlan009 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 06-13-2012, 10:37 PM
  4. Excel 2007 : If Blank enter another cell value
    By Martin Chamberlin in forum Excel General
    Replies: 1
    Last Post: 08-04-2011, 12:29 PM
  5. If cell in range is blank; enter 99999
    By shmee150 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 03-16-2009, 12:08 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