Can logical function (IF) use non-numberic text?

  • Thread starter Thread starter Peo Sjoblom
  • Start date Start date
P

Peo Sjoblom

You need to put the text in quotations, i.e.

=IF(C1="Y",Unit price x Qty,"")

--
Regards,

Peo Sjoblom

(No private emails please)
 
Hi,

I was wondering it is a must to use numbers for IF function?

The purpose is to set up a confirmation sheet for verification purpose, in
the following way:

(1) Confirmation cell (e.g. C1): Y/N whereas Y = Yes and N = No

(2) If the C1 = Y, D1 = Unit Price x QTY

But it seems that I have to use numeric values, such as 1 or 0 for C1 and
cannot use Y/N which is more like "human language".

Or any other approach?

Many thanks
 
Hello,

Many many thanks :)

It does work that way and it is NOT case-sensitive, so the user can enter Y
or y.

Once again, thanks.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top