![]() |
![]() |
|
|||||||
| Excel Questions All Excel/VBA questions - formulas, macros, pivot tables, general help, etc. Please post to this forum in English only. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Board Regular
Join Date: Feb 2002
Location: South UK
Posts: 344
|
Hi Everyone
I have a formula in one cell that returns TRUE/FALSE. If the value is TRUE I want to update a cell on another worksheet to read "Booked" Can anyone Help Kev |
|
|
|
|
|
#2 | |
|
MrExcel MVP
Join Date: Feb 2002
Location: Austin, Texas USA
Posts: 11,654
|
Quote:
|
|
|
|
|
|
|
#3 |
|
MrExcel MVP
Join Date: Feb 2002
Location: Columbus, OH, USA
Posts: 3,519
|
For arguments sake, let's say that cell A1 on sheet1 is the that will return the TRUE/FALSE value. Let's say that cell B2 on Sheet2 is the cell that's going to say "Booked" or "Available" (or whatever the FALSE text will be)
Go to Cell B2 on sheet2 and put in this formula: =IF(Sheet1!A1 = TRUE,"Booked","Available") HTH _________________ [b] Mark O'Brien [ This Message was edited by: Mark O'Brien on 2002-04-17 10:02 ] |
|
|
|
|
|
#4 | |
|
MrExcel MVP
Join Date: Feb 2002
Location: Austin, Texas USA
Posts: 11,654
|
Quote:
=IF(Sheet1!A1,"Booked","Avaliable") |
|
|
|
|
|
|
#5 |
|
MrExcel MVP
Join Date: Feb 2002
Location: Columbus, OH, USA
Posts: 3,519
|
Yeah, I know but I'm anal about implicitly stating things like that (in programming or whatever. Comes through messing about with other people's code, I like to make things more readable when I'm a novice.
I'm just chuffed that that's your only comment about the formula. |
|
|
|
|
|
#6 | |
|
MrExcel MVP
Join Date: Feb 2002
Location: Austin, Texas USA
Posts: 11,654
|
Quote:
[ This Message was edited by: Mark W. on 2002-04-17 09:49 ] |
|
|
|
|
|
|
#7 |
|
MrExcel MVP
Join Date: Feb 2002
Location: Columbus, OH, USA
Posts: 3,519
|
What spelling of "Available"? You're the guy that can't spell that word.
Mantra(don't notice the edit, don't notice the edit....) You're just po'd 'cos I stepped out of my bounds from VBA to "built in function" crap. Actually yesterday, and just for you, I populated Sheet1 with the value "1" in every cell. My machine can handle that, but any data that occupies more than 8 bits is going to crap it out for me. |
|
|
|
|
|
#8 | |
|
MrExcel MVP
Join Date: Feb 2002
Location: The Hague
Posts: 50,317
|
Quote:
To which formula are you referring and where exactly do you want "Booked" appear when that formula returns/computes TRUE? Aladin |
|
|
|
|
|
|
#9 | |
|
MrExcel MVP
Join Date: Feb 2002
Location: Austin, Texas USA
Posts: 11,654
|
Quote:
|
|
|
|
|
|
|
#10 |
|
Board Regular
Join Date: Feb 2002
Location: South UK
Posts: 344
|
Hi Guys
Just to clarify where Im at. On sheet 1 I'm using code and a button, the user will click this button to confirm a bookin. If the button is clicked it will update say cell C9 to read TRUE. Now in another cell (G12) using Aladins formula "Data!"&ADDRESS(MATCH(C12,DATES,0)+2,2)I have obtained the address of a cell on Sheet 2. If the value in C9 is false I don't want to do anything, but if its TRUE then I want the cell on Sheet2 to read "Booked" So Im trying to use the address retreived by the code in G12 as a reference point. Phew I hope that makes sense |
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|