Converting text to numerals across spreadsheets

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I'm referencing cells on a different worksheet with information in, but where
it is says 'Yes' on Sheet 1 I need it to say '1' on sheet 2. Likewise, where
it says 'No' on sheet 1, I need it to say '2' on sheet 2. Can anyone tell me
how this could be achieved?

Thanks.
 
Hi Ed

use an IF statement
=IF(Sheet1!A1="yes",1,IF(Sheet1!A1="no",2,""))

Cheers
JulieD
 
Hi
do you mean
=IF('sheet1'!A1="Yes",1,IF('sheet1'!A1="No",2,"something else"))
 
if only a yes or no value is enter into the referencing cells, this formula
will work
=IF(Sheet1!A1="YES",1,2)
 

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