12-02-2004, 15:36
|
#1
|
|
cf.mega poster
Join Date: Jun 2003
Location: Milling around Milton Keynes
Age: 36
Posts: 12,969
|
excel programming
Can someone tell me how to put the following into excel so that it knows what I'm talking about?
IF A1 = 1 then print contents of B1 in C1
|
|
|
12-02-2004, 15:49
|
#2
|
|
cf.mega poster
Join Date: Jun 2003
Location: Los Angeles, CA
Age: 34
Posts: 6,414
|
Re: excel programming
I think (from memory) you just click on the f icon to create a function.
It's next to the thing that looks like an address bar.
|
|
|
12-02-2004, 15:50
|
#3
|
|
cf.mega poster
Join Date: Jun 2003
Location: Milling around Milton Keynes
Age: 36
Posts: 12,969
|
Re: excel programming
But what would the syntax of the function be?
|
|
|
12-02-2004, 15:53
|
#4
|
|
cf.mega poster
Join Date: Jun 2003
Location: Los Angeles, CA
Age: 34
Posts: 6,414
|
Re: excel programming
Quote:
|
Originally Posted by Xaccers
But what would the syntax of the function be?
|
Screenshot below:
|
|
|
12-02-2004, 16:01
|
#5
|
|
cf.mega poster
Join Date: Jun 2003
Location: Milling around Milton Keynes
Age: 36
Posts: 12,969
|
Re: excel programming
Thanks Richard
Do you know how I can get it to hide rows where the value isn't 1?
Basically I've got several clients' backup reviews allocated to several colleagues.
I want to produce on a seperate sheet within the workbook a list of allocated clients for each collegue.
Allocation is done by putting a 1 in the collumn/row of colleague/client
So I'm getting the list when I try what you said, but it's showing all the falses in between client names.
|
|
|
12-02-2004, 16:11
|
#6
|
|
cf.mega poster
Join Date: Jun 2003
Location: Los Angeles, CA
Age: 34
Posts: 6,414
|
Re: excel programming
Not sure, but the help file says this:
Quote:
Formula
=IF(A2<=100,"Within budget","Over budget")
Description (Result)
If the number above is less than or equal to 100, then the formula displays "Within budget". Otherwise, the function displays "Over budget" (Within budget)
|
So, you'd replace the "Within budget" part of that with the Hide commands, whatever they are.
I know you can access Hide from Format>Row>Hide but I'm a bit of a n00b when it comes to Office.
|
|
|
12-02-2004, 17:47
|
#7
|
|
I've been here before?
Join Date: Jun 2003
Location: I am house...
Services: $KY+HD - BT Infinity
Posts: 2,283
|
Re: excel programming
Quote:
|
Originally Posted by Xaccers
Thanks Richard
Do you know how I can get it to hide rows where the value isn't 1?
Basically I've got several clients' backup reviews allocated to several colleagues.
I want to produce on a seperate sheet within the workbook a list of allocated clients for each collegue.
Allocation is done by putting a 1 in the collumn/row of colleague/client
So I'm getting the list when I try what you said, but it's showing all the falses in between client names.
|
You could only do this via a Macro unless someone wants to correct me!
|
|
|
12-02-2004, 17:52
|
#8
|
|
cf.mega poster
Join Date: Jun 2003
Location: Milling around Milton Keynes
Age: 36
Posts: 12,969
|
Re: excel programming
Quote:
|
Originally Posted by Tricky
You could only do this via a Macro unless someone wants to correct me!
|
You are correct, I managed to find one on the web
|
|
|
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT. The time now is 06:14.
|