Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 109
Default conditoonal programing

I am trying to enter a formula into excel that would dissplay the content of
one of the two cells unless the one of the cells contain a certin number the
* that number by a third cell.

ex if a1= "" then c1=b1 if not c1=a1 if b1="" then c1= a1 if b1=55 then
c1=b1*d1 if b1 is not blank but not 55 then c1=a1.

I have not been able to get it writen just right. I end up with only part
of the function working. I would like any help that anyone could offer. I an
using Excel 2002 with xp.
Thank you
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 180
Default conditoonal programing

I'm not clear on the requirements. It seems to me you have six possibilities
(a1 is blank or not blank; b1 is blank, =55, or neither). What should go in
C1 in each case?


"Brent" wrote:

I am trying to enter a formula into excel that would dissplay the content of
one of the two cells unless the one of the cells contain a certin number the
* that number by a third cell.

ex if a1= "" then c1=b1 if not c1=a1 if b1="" then c1= a1 if b1=55 then
c1=b1*d1 if b1 is not blank but not 55 then c1=a1.

I have not been able to get it writen just right. I end up with only part
of the function working. I would like any help that anyone could offer. I an
using Excel 2002 with xp.
Thank you

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 109
Default conditoonal programing

c1 is were the formula will be it will show the resualts and = eather the
value a1 or the value in b1 or if b1 = 55 it will =55*the value in d1

"bpeltzer" wrote:

I'm not clear on the requirements. It seems to me you have six possibilities
(a1 is blank or not blank; b1 is blank, =55, or neither). What should go in
C1 in each case?


"Brent" wrote:

I am trying to enter a formula into excel that would dissplay the content of
one of the two cells unless the one of the cells contain a certin number the
* that number by a third cell.

ex if a1= "" then c1=b1 if not c1=a1 if b1="" then c1= a1 if b1=55 then
c1=b1*d1 if b1 is not blank but not 55 then c1=a1.

I have not been able to get it writen just right. I end up with only part
of the function working. I would like any help that anyone could offer. I an
using Excel 2002 with xp.
Thank you

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 109
Default conditoonal programing



"bpeltzer" wrote:

I'm not clear on the requirements. It seems to me you have six possibilities
(a1 is blank or not blank; b1 is blank, =55, or neither). What should go in
C1 in each case?


"Brent" wrote:

I am trying to enter a formula into excel that would dissplay the content of
one of the two cells unless the one of the cells contain a certin number the
* that number by a third cell.

ex if a1= "" then c1=b1 if not c1=a1 if b1="" then c1= a1 if b1=55 then
c1=b1*d1 if b1 is not blank but not 55 then c1=a1.

I have not been able to get it writen just right. I end up with only part
of the function working. I would like any help that anyone could offer. I an
using Excel 2002 with xp.
Thank you

  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 180
Default conditoonal programing

My interpretation is that if a1 isn't blank, return a1. If a1 is blank, then
if b1 is 55, return 55*d1, otherwise b1. That, in Excel:
=if(a1="",if(b1=55,55*d1,b1),a1).
Your first post makes an additional note about if b1=""; your follow-up and
the formula above don't address that. --Bruce


"Brent" wrote:

c1 is were the formula will be it will show the resualts and = eather the
value a1 or the value in b1 or if b1 = 55 it will =55*the value in d1

"bpeltzer" wrote:

I'm not clear on the requirements. It seems to me you have six possibilities
(a1 is blank or not blank; b1 is blank, =55, or neither). What should go in
C1 in each case?


"Brent" wrote:

I am trying to enter a formula into excel that would dissplay the content of
one of the two cells unless the one of the cells contain a certin number the
* that number by a third cell.

ex if a1= "" then c1=b1 if not c1=a1 if b1="" then c1= a1 if b1=55 then
c1=b1*d1 if b1 is not blank but not 55 then c1=a1.

I have not been able to get it writen just right. I end up with only part
of the function working. I would like any help that anyone could offer. I an
using Excel 2002 with xp.
Thank you



  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 109
Default conditoonal programing

that worked great thank you very much Brent

"bpeltzer" wrote:

My interpretation is that if a1 isn't blank, return a1. If a1 is blank, then
if b1 is 55, return 55*d1, otherwise b1. That, in Excel:
=if(a1="",if(b1=55,55*d1,b1),a1).
Your first post makes an additional note about if b1=""; your follow-up and
the formula above don't address that. --Bruce


"Brent" wrote:

c1 is were the formula will be it will show the resualts and = eather the
value a1 or the value in b1 or if b1 = 55 it will =55*the value in d1

"bpeltzer" wrote:

I'm not clear on the requirements. It seems to me you have six possibilities
(a1 is blank or not blank; b1 is blank, =55, or neither). What should go in
C1 in each case?


"Brent" wrote:

I am trying to enter a formula into excel that would dissplay the content of
one of the two cells unless the one of the cells contain a certin number the
* that number by a third cell.

ex if a1= "" then c1=b1 if not c1=a1 if b1="" then c1= a1 if b1=55 then
c1=b1*d1 if b1 is not blank but not 55 then c1=a1.

I have not been able to get it writen just right. I end up with only part
of the function working. I would like any help that anyone could offer. I an
using Excel 2002 with xp.
Thank you

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
Programing Help Needed smonczka Excel Programming 6 August 22nd 05 09:53 PM
this is about excel programing ELIYA HAMATI Excel Programming 1 December 13th 04 09:43 PM
Proper Programing Tim Excel Programming 1 November 19th 04 03:17 PM
VB programing Mestrella31 Excel Programming 3 October 11th 04 03:05 PM
Help with VBA programing CyberStorm Excel Programming 3 July 26th 04 07:57 PM


All times are GMT +1. The time now is 05:19 PM.

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"