#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 21
Default Using Functions

I am trying to make a function so that if the cell is "yes" that it will be
equal to another cell and if it is "no" than it is left blank. How do I do
this?
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,104
Default Using Functions

=IF(A1="Yes",B1,"")
That is a pair of double quotes with nothing between them

The formula looks at A1 and if it has value Yes than the cell with the
formula gets B1's value, otherwise it displays nothing.
Of course, this formula can go in any cell other than A1 or B1
best wishes
--
Bernard V Liengme
Microsoft Excel MVP
http://people.stfx.ca/bliengme
remove caps from email


"Muskrat24" wrote in message
...
I am trying to make a function so that if the cell is "yes" that it will
be
equal to another cell and if it is "no" than it is left blank. How do I do
this?



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 22
Default Using Functions

Try:

=IF(A1="Yes",B1,"")



"Muskrat24" wrote:

I am trying to make a function so that if the cell is "yes" that it will be
equal to another cell and if it is "no" than it is left blank. How do I do
this?

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 21
Default Using Functions

I tried it and it wouldnt work. the way I want it set up is if H12 is yes, I
want G12 equal to B11, is that possible to do?

"MurrayBarn" wrote:

Try:

=IF(A1="Yes",B1,"")



"Muskrat24" wrote:

I am trying to make a function so that if the cell is "yes" that it will be
equal to another cell and if it is "no" than it is left blank. How do I do
this?

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 5,934
Default Using Functions

Try putting this formula in G12...

=IF(H12="Yes",B11,"")

--
Rick (MVP - Excel)


"Muskrat24" wrote in message
...
I tried it and it wouldnt work. the way I want it set up is if H12 is yes,
I
want G12 equal to B11, is that possible to do?

"MurrayBarn" wrote:

Try:

=IF(A1="Yes",B1,"")



"Muskrat24" wrote:

I am trying to make a function so that if the cell is "yes" that it
will be
equal to another cell and if it is "no" than it is left blank. How do I
do
this?




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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Multiple functions, conditional functions HeatherBelle Excel Worksheet Functions 7 October 17th 08 03:57 PM
How to convert cell formula functions to code functions Adnan Excel Discussion (Misc queries) 1 October 1st 08 08:30 PM
efficiency: database functions vs. math functions vs. array formula nickname Excel Discussion (Misc queries) 2 July 14th 06 04:26 AM
Looking for a site with functions that substitute the ATP functions Franz Verga Excel Worksheet Functions 3 June 24th 06 04:30 AM
Nesting functions in the functions dialog box cs170a Excel Worksheet Functions 0 June 10th 05 10:36 PM


All times are GMT +1. The time now is 01:50 AM.

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

About Us

"It's about Microsoft Excel"