BIG IF

swaink

Active Member
Joined
Feb 15, 2002
Messages
432
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
:confused:
 

Excel Facts

Do you hate GETPIVOTDATA?
Prevent GETPIVOTDATA. Select inside a PivotTable. In the Analyze tab of the ribbon, open the dropown next to Options and turn it off
On 2002-04-17 09:10, swaink wrote:
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
/board/images/smiles/icon_confused.gif

...and, if it's FALSE?
 
Upvote 0
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


_________________<font color = green> Mark O'Brien
This message was edited by Mark O'Brien on 2002-04-17 10:02
 
Upvote 0
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. :biggrin:
 
Upvote 0
On 2002-04-17 09:44, Mark O'Brien wrote:
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. :biggrin:

Well, I did let the spelling of "available" slip by... :biggrin: Now, that's anal!!
This message was edited by Mark W. on 2002-04-17 09:49
 
Upvote 0
What spelling of "Available"? You're the guy that can't spell that word. :biggrin:

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. :biggrin:

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.
 
Upvote 0
On 2002-04-17 09:10, swaink wrote:
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
:confused:

Kev,

To which formula are you referring and where exactly do you want "Booked" appear when that formula returns/computes TRUE?

Aladin
 
Upvote 0
On 2002-04-17 10:10, Mark O'Brien wrote:
You're just po'd 'cos I stepped out of my bounds from VBA to "built in function" crap. :biggrin:

PO'd? Nah!! We welcome you into the "Built-in" fold. :)
 
Upvote 0
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
 
Upvote 0

Forum statistics

Threads
1,213,489
Messages
6,113,947
Members
448,534
Latest member
benefuexx

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top