Forum Discussion

scottschneider's avatar
scottschneider
Copper Contributor
Sep 13, 2024
Solved

IF, AND, OR Formula Help

2.5 
 2.5
ModifierModifier
HQUP
HQUN

 

Hello! So I have a spreadsheet I use for invoicing and depending on which box I input the hours in (2.5), determines what modifier I need to use (UP or UN). So I was wondering if anyone could help me generate a formula that if I input tie in the upper box it returns the value of UP or if there is a value in the lower box it would return the value of UN and if there is no value, it would just remain empty. 

Thank You!

  • scottschneider 

    The upper box value is in cell A1.

    The lower box value is in cell B1.

    Here’s a formula you can use:

    =IF(A1<>"", "UP", IF(B1<>"", "UN", ""))

     

    Hope this will help you.

2 Replies

  • NikolinoDE's avatar
    NikolinoDE
    Gold Contributor

    scottschneider 

    The upper box value is in cell A1.

    The lower box value is in cell B1.

    Here’s a formula you can use:

    =IF(A1<>"", "UP", IF(B1<>"", "UN", ""))

     

    Hope this will help you.

    • scottschneider's avatar
      scottschneider
      Copper Contributor

      NikolinoDE 

       

      Thank you! This worked perfectly for what I needed. Totally saves me time with invoicing now and eliminating any errors. Thank you again!!!!

Resources