+ Reply to Thread
Results 1 to 5 of 5

Condition - if cell is blank enter 100%

  1. #1
    Forum Contributor
    Join Date
    07-23-2019
    Location
    San Antonio, Texas
    MS-Off Ver
    Office 365
    Posts
    143

    Condition - if cell is blank enter 100%

    Hello,

    I have a report (attached) that I would like to write a formula, vba, or condition......... in column J ("CPB" tab) that would automatically enter a value of 100% if it is empty.

    Currently, I have manually entered the 100% (in gray font) - attached is an example.

    I appreciate your help and time!

    Kind Regards,

    Paula
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    12-14-2012
    Location
    London England
    MS-Off Ver
    MS 365 Office Suite.
    Posts
    8,448

    Re: Condition - if cell is blank enter 100%

    Your example is not clear so

    Try this in J8 then fill down =IFERROR($D8/SUM($D$14:$D$15),1)
    My General Rules if you want my help. Not aimed at any person in particular:

    1. Please Make Requests not demands, none of us get paid here.

    2. Check back on your post regularly. I will not return to a post after 4 days.
    If it is not important to you then it definitely is not important to me.

  3. #3
    Forum Expert
    Join Date
    10-19-2021
    Location
    Brazil
    MS-Off Ver
    Office 365 V2401 w/ Win10 Home 64 Bit
    Posts
    2,014

    Re: Condition - if cell is blank enter 100%

    Solution with macro, press button 100%.
    Attached Files Attached Files

  4. #4
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Condition - if cell is blank enter 100%

    Please explain what 'it is empty' means, in particular what is 'it'?
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  5. #5
    Forum Contributor
    Join Date
    07-23-2019
    Location
    San Antonio, Texas
    MS-Off Ver
    Office 365
    Posts
    143

    Re: Condition - if cell is blank enter 100%

    Thank you so so so much for your help and time; Both of these options work great!

+ 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: 19
    Last Post: 05-21-2019, 03:17 PM
  2. [SOLVED] If cell meets date requirement enter 1, if not enter 0, if blank don't enter anything.
    By billrogers184 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 05-11-2017, 02:04 PM
  3. Replies: 1
    Last Post: 03-25-2016, 01:31 AM
  4. Replies: 1
    Last Post: 03-25-2016, 01:16 AM
  5. [SOLVED] Enter number in blank cell match number on sheet 2 & enter data from adjacent cell
    By Bikeman in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 06-10-2015, 08:36 PM
  6. [SOLVED] If a condition is met enter a value in a specific cell
    By gokica in forum Excel Programming / VBA / Macros
    Replies: 17
    Last Post: 11-20-2014, 04:05 AM
  7. 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

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