#1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default I need help

I have posted an example of my workbbok at
http://massivemike.co.uk/Tickets.htm
What i want to do is put a number in A4 on sheet 1 and
have it insert the appropriate name from sheet 2 ready for
printing, it works ok with numbers but when i need text i
get a #VALUE error, any ideas anyone i'm pulling my hair
out now, i can email it to you if req
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 620
Default I need help

Mike,

Bad formula.

Try
=IF(A4=1,Sheet2!C1,IF(A4=2,Sheet2!C2,IF(A4=3,Sheet 2!C3,"")))

although you may want a different default to "".


--
HTH

-------

Bob Phillips
... looking out across Poole Harbour to the Purbecks


"mike" wrote in message
...
I have posted an example of my workbbok at
http://massivemike.co.uk/Tickets.htm
What i want to do is put a number in A4 on sheet 1 and
have it insert the appropriate name from sheet 2 ready for
printing, it works ok with numbers but when i need text i
get a #VALUE error, any ideas anyone i'm pulling my hair
out now, i can email it to you if req



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 02:49 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"