Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Display value of text from one worksheet into another as number

Status
Not open for further replies.

yogiyosh

Technical User
Oct 13, 2003
14
GB
I,m a novice with Excel, I'm trying to convert any text enterd into a cell from one worksheet, then let the other worksheet dislplay that text as a true or false value (1 or 0) I've tried using the IF statement, but am not getting very far!! Can anybody help????
 
Hi,

Your IF statment syntax should be as follows...
Code:
=IF(logicalTest, IfTrue, IfFalse)

If you need a little more, can you please post a more detailed question, giveing examples of what you are trying to test and the structure of your spreadsheet. EG. Is Sheet1 CellA1 always going to be CellA1 in Sheet2?



Leigh Moore
Solutions 4 MS Office Ltd
 
Ok, apologies. Sheet 1 is entry sheet, The user types in a location into a row of cells, say A1:A10. On the next work sheet(Sheet 2) a table picks up the text entered as a value of 1 or 0 (true or false). chart 1 then calculates these rows to produce my final graph. I hope this makes it clearer???
 
YOu can try the following:-

=IF(Sheet1!A1>0,1,0)

and so on for each cell that is on sheet one.

Basically if sheet 1 cell A1 is greater than 0 (ie. something in it) it will produce a 1 else it will produce a 0.

Hope it helps.

 
Thanks for the tip, but now I've tried that a requester box opens "Update values: Entry Sheet (From addins)" additionally the cell reports a #VALUE! error. I'm obiously doing something wrong!!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top