ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   IF Function Question (https://www.excelbanter.com/excel-worksheet-functions/152929-if-function-question.html)

blucajun

IF Function Question
 
I'm having trouble figuring out how to properly do an =IF to make this work
the way I need. I have text in columns B & E, but some of the cells in
column B are empty. I need a formula that will look at column B and if it is
empty, copy the data from column E. If the cell in column B is not empty,
then keep what it already has. I tried using =IF(B327<"", E327, B327), but
I know the false is wrong. How do I accomplish this?

Michael

IF Function Question
 
This is the formula

If(B327="",E327,B327)

Michael Arch

Please rate posting if helpful





"blucajun" wrote:

I'm having trouble figuring out how to properly do an =IF to make this work
the way I need. I have text in columns B & E, but some of the cells in
column B are empty. I need a formula that will look at column B and if it is
empty, copy the data from column E. If the cell in column B is not empty,
then keep what it already has. I tried using =IF(B327<"", E327, B327), but
I know the false is wrong. How do I accomplish this?


Sandy Mann

IF Function Question
 
Try it the other way round:

=IF(B327<"", B327,E327)

or

=IF(B327="",E327,B327)

--
HTH

Sandy
In Perth, the ancient capital of Scotlandand the crowning place of kings


Replace @mailinator.com with @tiscali.co.uk


"blucajun" wrote in message
...
I'm having trouble figuring out how to properly do an =IF to make this
work
the way I need. I have text in columns B & E, but some of the cells in
column B are empty. I need a formula that will look at column B and if it
is
empty, copy the data from column E. If the cell in column B is not empty,
then keep what it already has. I tried using =IF(B327<"", E327, B327),
but
I know the false is wrong. How do I accomplish this?




blucajun

IF Function Question
 
I already tried that formula -it creates a circular reference and gives me a
zero...

"Michael" wrote:

This is the formula

If(B327="",E327,B327)

Michael Arch

Please rate posting if helpful





"blucajun" wrote:

I'm having trouble figuring out how to properly do an =IF to make this work
the way I need. I have text in columns B & E, but some of the cells in
column B are empty. I need a formula that will look at column B and if it is
empty, copy the data from column E. If the cell in column B is not empty,
then keep what it already has. I tried using =IF(B327<"", E327, B327), but
I know the false is wrong. How do I accomplish this?


Michael

IF Function Question
 
Do you have the formula placed in B327, this will be the reason for the
circular reference. The if statement must be in a differente cell. What you
can do if you only need one column with data is to place the formula on G327
for example and hide columns B through F.

You can not however have a formula referencing the same cell where the
formula resides, this creates the circular reference error.

Regards,

Michael Arch.

Rate this posting if helpful.







"blucajun" wrote:

I already tried that formula -it creates a circular reference and gives me a
zero...

"Michael" wrote:

This is the formula

If(B327="",E327,B327)

Michael Arch

Please rate posting if helpful





"blucajun" wrote:

I'm having trouble figuring out how to properly do an =IF to make this work
the way I need. I have text in columns B & E, but some of the cells in
column B are empty. I need a formula that will look at column B and if it is
empty, copy the data from column E. If the cell in column B is not empty,
then keep what it already has. I tried using =IF(B327<"", E327, B327), but
I know the false is wrong. How do I accomplish this?


Sandy Mann

IF Function Question
 
"blucajun" wrote in message
...
I already tried that formula -it creates a circular reference and gives me
a
zero...


I assume then that E327 refers to the cell in which the formula is located?

--

Sandy
In Perth, the ancient capital of Scotland
and the crowning place of kings


Replace @mailinator.com with @tiscali.co.uk




blucajun

IF Function Question
 
Ahhh, that's what I was doing wrong. I was wanting to put the forumla in
column B. Silly me. Thanks!!

"Michael" wrote:

This is the formula

If(B327="",E327,B327)

Michael Arch

Please rate posting if helpful





"blucajun" wrote:

I'm having trouble figuring out how to properly do an =IF to make this work
the way I need. I have text in columns B & E, but some of the cells in
column B are empty. I need a formula that will look at column B and if it is
empty, copy the data from column E. If the cell in column B is not empty,
then keep what it already has. I tried using =IF(B327<"", E327, B327), but
I know the false is wrong. How do I accomplish this?



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

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com