Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Formula Revision, Need =IF Formula

Posted on 2013-01-17
5
Medium Priority
?
377 Views
Last Modified: 2013-01-17
Hello Experts,

The formula I am using is this,...

="Bag Size: "&SUM(B3+1)&"""W x "&SUM(C3+1)&"""D x "&SUM(D3+C3+6)&"""L"

What I would like, is for my formula to check 3 cells.  IF they ALL have values then the formula above goes into action.  Otherwise, the cell returns " ".

Thank you in advance for your help!

~ Geekamo
0
Comment
Question by:Geekamo
  • 4
5 Comments
 
LVL 1

Author Comment

by:Geekamo
ID: 38790264
Oops, I could have been a little more specific.  The cells it needs to check, are the ones I'm referencing in the formula.
0
 
LVL 50

Accepted Solution

by:
Ingeborg Hawighorst (Microsoft MVP / EE MVE) earned 2000 total points
ID: 38790282
Hello,

maybe

=if(count(B3:D3)=3,"Bag Size: "&SUM(B3+1)&"""W x "&SUM(C3+1)&"""D x "&SUM(D3+C3+6)&"""L","")

By the way, you don't need SUM(B3+1), you can just use B3+1, like

=if(count(B3:D3)=3,"Bag Size: "&B3+1&"""W x "&C3+1&"""D x "&D3+C3+6&"""L","")

cheers, teylyn
0
 
LVL 1

Author Comment

by:Geekamo
ID: 38790290
@ teylyn,

I am *very much* a newb when it comes to writing any formula beyond the very basics.  lol Thank you for the tip on the sum.  In looking at your solution, I would if it should be something like =>1. I'll try this out.

~ Geekamo
0
 
LVL 1

Author Comment

by:Geekamo
ID: 38790292
* I wonder
0
 
LVL 1

Author Comment

by:Geekamo
ID: 38790298
@ teylyn,

Ignore my comment.  :)  I didn't understand that right.  This worked perfectly!

~ Geekamo
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

How to get Spreadsheet Compare 2016 working with the 64 bit version of Office 2016
This article describes how to use a set of graphical playing cards to create a Draw Poker game in Excel or VB6.
This Micro Tutorial will demonstrate how to use a scrolling table in Microsoft Excel using the INDEX function.
Many functions in Excel can make decisions. The most simple of these is the IF function: it returns a value depending on whether a condition you describe is true or false. Once you get the hang of using the IF function, you will find it easier to us…

772 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question