Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 6
Default How to create a function

Thank you in advance for your help. I'm just learning about functions and am
stuck on how to achieve the following "IF/THEN" scenario:

Cell A1: $100
Cell B1: 21%
Cell C1: $200

Cell D1 will contain the formula:

I need a function where the value found in A1 ($100) will be displayed IF B1
is larger than 30%. If it's not larger, display the value in C1 ($200).

Also, how would this change if the 30% is a value that I want to globally
change (I've created a defined name of "Value_Percentage")

Thanks for the shove in the right direction. Much appreciated!
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,358
Default How to create a function

=IF(B1value_percentage,A1,C1)
--
** John C **
Please remember if your question is answered, to mark it answered :). It
helps everyone.


"FrozenRope" wrote:

Thank you in advance for your help. I'm just learning about functions and am
stuck on how to achieve the following "IF/THEN" scenario:

Cell A1: $100
Cell B1: 21%
Cell C1: $200

Cell D1 will contain the formula:

I need a function where the value found in A1 ($100) will be displayed IF B1
is larger than 30%. If it's not larger, display the value in C1 ($200).

Also, how would this change if the 30% is a value that I want to globally
change (I've created a defined name of "Value_Percentage")

Thanks for the shove in the right direction. Much appreciated!

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 6
Default How to create a function

Worked like a charm John. Thank you VERY much.

"John C" wrote:

=IF(B1value_percentage,A1,C1)
--
** John C **
Please remember if your question is answered, to mark it answered :). It
helps everyone.


"FrozenRope" wrote:

Thank you in advance for your help. I'm just learning about functions and am
stuck on how to achieve the following "IF/THEN" scenario:

Cell A1: $100
Cell B1: 21%
Cell C1: $200

Cell D1 will contain the formula:

I need a function where the value found in A1 ($100) will be displayed IF B1
is larger than 30%. If it's not larger, display the value in C1 ($200).

Also, how would this change if the 30% is a value that I want to globally
change (I've created a defined name of "Value_Percentage")

Thanks for the shove in the right direction. Much appreciated!

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
not sure how to create this function dilbert16588 Excel Worksheet Functions 1 March 8th 08 05:24 PM
how to create function bsatstudent5 Excel Worksheet Functions 2 January 29th 07 02:38 PM
Trying to create a certain function chas Excel Worksheet Functions 3 December 26th 06 09:02 PM
Create new function [email protected] Excel Discussion (Misc queries) 1 March 14th 06 04:47 PM
create function Luc M Excel Worksheet Functions 2 December 24th 04 10:17 AM


All times are GMT +1. The time now is 02:06 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"