ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   If function required (https://www.excelbanter.com/excel-discussion-misc-queries/207171-if-function-required.html)

Ravi

If function required
 
Hi...........If A1 is blank then B1 is "Unpaid" if A1 has numbers then B1 is
"Paid"

i tried the below for "unpaid" and its ok and i need to add the "Paid" also
in this formula
=IF(A1," ","Unpaid")

please help..............

regards,
ravi kumar

SteW

If function required
 
=IF(A1="",("Unpaid"),IF(A10,("Paid"),("")))


"Ravi" wrote:

Hi...........If A1 is blank then B1 is "Unpaid" if A1 has numbers then B1 is
"Paid"

i tried the below for "unpaid" and its ok and i need to add the "Paid" also
in this formula
=IF(A1," ","Unpaid")

please help..............

regards,
ravi kumar


Ravi

If function required
 
thank U stew.........................

"stew" wrote:

=IF(A1="",("Unpaid"),IF(A10,("Paid"),("")))


"Ravi" wrote:

Hi...........If A1 is blank then B1 is "Unpaid" if A1 has numbers then B1 is
"Paid"

i tried the below for "unpaid" and its ok and i need to add the "Paid" also
in this formula
=IF(A1," ","Unpaid")

please help..............

regards,
ravi kumar


David Biddulph[_2_]

If function required
 
Quite a few things you've left undefined. You've talked about numbers in
A1, but not about text, nor about empty text strings.

You might change your formula from
=IF(A1," ","Unpaid") to
=IF(A1,"Paid","Unpaid") or to
=IF(ISNUMBER(A1),"Paid","Unpaid") or to
=IF(A1<"","Paid","Unpaid") or to
=IF(ISBLANK(A1),"Unpaid",IF(ISNUMBER(A1),"Paid","U ndefined")) or to
=IF(A1="","Unpaid",IF(ISNUMBER(A1),"Paid","Undefin ed")) or to ...
--
David Biddulph


"Ravi" wrote in message
...
Hi...........If A1 is blank then B1 is "Unpaid" if A1 has numbers then B1
is
"Paid"

i tried the below for "unpaid" and its ok and i need to add the "Paid"
also
in this formula
=IF(A1," ","Unpaid")

please help..............

regards,
ravi kumar




David Biddulph[_2_]

If function required
 
But please realise that Stew's suggestion looks for numbers greater than
zero (and would also pick up text values), rather than looking for any
number.
So abc would give Paid, but -27 would give a blank.

If you do want to use his logic, you can throw away some of the parentheses
and reduce
=IF(A1="",("Unpaid"),IF(A10,("Paid"),(""))) to
=IF(A1="","Unpaid",IF(A10,"Paid",""))
--
David Biddulph


"stew" wrote in message
...
=IF(A1="",("Unpaid"),IF(A10,("Paid"),("")))


"Ravi" wrote:

Hi...........If A1 is blank then B1 is "Unpaid" if A1 has numbers then B1
is
"Paid"

i tried the below for "unpaid" and its ok and i need to add the "Paid"
also
in this formula
=IF(A1," ","Unpaid")

please help..............

regards,
ravi kumar




SteW

If function required
 
NO PROBLEM. I HAVE BEEN HELPED SO MANY TIMES BY THIS GROUP,IT MAKES A CHANGE
FOR ME TO HELP SOMBODY

Stew

"Ravi" wrote:

thank U stew.........................

"stew" wrote:

=IF(A1="",("Unpaid"),IF(A10,("Paid"),("")))


"Ravi" wrote:

Hi...........If A1 is blank then B1 is "Unpaid" if A1 has numbers then B1 is
"Paid"

i tried the below for "unpaid" and its ok and i need to add the "Paid" also
in this formula
=IF(A1," ","Unpaid")

please help..............

regards,
ravi kumar



All times are GMT +1. The time now is 10:18 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com