ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Auto Fill Cell Based on Data in a different cell (https://www.excelbanter.com/excel-discussion-misc-queries/245380-auto-fill-cell-based-data-different-cell.html)

JB Bates[_2_]

Auto Fill Cell Based on Data in a different cell
 

I am looking for a formula for column C to autofill the information from the
cell directly above BASED on data in Column B -- ie If cell B4 has data than
cell c4 will auto fill with the data in cell c3. if there is no info in the
correlating cell in column B the cell in column C will remain empty.

DEPART ARRIVE
ICAO ICAO PIC
KDPA KMDW GFA
KMDW KPBI
KPBI KDPA
KDPA


THANKS in advance -- JB


bill kuunders

Auto Fill Cell Based on Data in a different cell
 
On Oct 14, 8:02*am, JB Bates
wrote:
I am looking for a formula for column C to autofill the information from the
cell directly above BASED on data in Column B -- ie If cell B4 has data than
cell c4 will auto fill with the data in cell c3. *if there is no info in the
correlating cell in column B the cell in column C will remain empty.

DEPART * * * * *ARRIVE * * * * * * * * *
ICAO * * * * * *ICAO * * * * * *PIC * *
KDPA * * * * * *KMDW * * * * * *GFA
KMDW * * * * * *KPBI
KPBI * * * * * *KDPA
KDPA * *

THANKS in advance -- JB * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *


enter in C4 ....=IF(B4="","",C3)

this will do what you asked for, for one line, but
if you do enter names into the C column cells you will
loose the formula.............
you may have to setup your sheet differently.
greetings from New Zealand

JLatham

Auto Fill Cell Based on Data in a different cell
 
In C4 enter this formula
=IF(B4<"",C3,"")
Fill down as required. But if I have read and understood correctly, that's
going to put GFA into column C on any row where there's an entry in column B.
So C4 and C5 will also contain GFA, with C6 remaining empty.


"JB Bates" wrote:


I am looking for a formula for column C to autofill the information from the
cell directly above BASED on data in Column B -- ie If cell B4 has data than
cell c4 will auto fill with the data in cell c3. if there is no info in the
correlating cell in column B the cell in column C will remain empty.

DEPART ARRIVE
ICAO ICAO PIC
KDPA KMDW GFA
KMDW KPBI
KPBI KDPA
KDPA


THANKS in advance -- JB


JB Bates[_2_]

Auto Fill Cell Based on Data in a different cell
 
Hi Bill - thanks for the help. if there is no data in C3 it is giving me
"0.0" in C4 -- is there a way around this? JB

"bill kuunders" wrote:

On Oct 14, 8:02 am, JB Bates
wrote:
I am looking for a formula for column C to autofill the information from the
cell directly above BASED on data in Column B -- ie If cell B4 has data than
cell c4 will auto fill with the data in cell c3. if there is no info in the
correlating cell in column B the cell in column C will remain empty.

DEPART ARRIVE
ICAO ICAO PIC
KDPA KMDW GFA
KMDW KPBI
KPBI KDPA
KDPA

THANKS in advance -- JB


enter in C4 ....=IF(B4="","",C3)

this will do what you asked for, for one line, but
if you do enter names into the C column cells you will
loose the formula.............
you may have to setup your sheet differently.
greetings from New Zealand


JB Bates[_2_]

Auto Fill Cell Based on Data in a different cell
 
Hi - thanks for the help. if there is no data in C3 it is giving me "0.0" in
C4 -- is there a way around this? JB

"JLatham" wrote:

In C4 enter this formula
=IF(B4<"",C3,"")
Fill down as required. But if I have read and understood correctly, that's
going to put GFA into column C on any row where there's an entry in column B.
So C4 and C5 will also contain GFA, with C6 remaining empty.


"JB Bates" wrote:


I am looking for a formula for column C to autofill the information from the
cell directly above BASED on data in Column B -- ie If cell B4 has data than
cell c4 will auto fill with the data in cell c3. if there is no info in the
correlating cell in column B the cell in column C will remain empty.

DEPART ARRIVE
ICAO ICAO PIC
KDPA KMDW GFA
KMDW KPBI
KPBI KDPA
KDPA


THANKS in advance -- JB



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

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