Original Number in Cell untouched by false IF statement

jinc13

New Member
Joined
Sep 5, 2002
Messages
2
I am trying to write a formula that puts a number in cell (A) if a date cell and a text cell have certain info in them. However, if the correct info is NOT in the Date and Text cell, I want the number that is already in Cell (A) to remain untouched.
I am using this formula to pull the info over, but I don't know how to make the "value if false" keep the number in the cell.
=IF(AND(FORM!$B$2=DATE(2002,9,3),FORM!$B$3="HNL"),FORM!$B$6,??????)

Thank you!!!!!
 

Excel Facts

Excel Wisdom
Using a mouse in Excel is the work equivalent of wearing a lanyard when you first get to college

lenze

Legend
Joined
Feb 18, 2002
Messages
13,690
I have some bad news for you. You can't do what you described with a formula. A cell can not have a valued and a formula. You will need to use VBA to accomplish this. Post back a little more detail and I'm sure someone can help you out.
 

jinc13

New Member
Joined
Sep 5, 2002
Messages
2
OUCH, that is quite depressing!!
What I am trying to do is create a form that checks to see the date and location, then uses the data entered to populate tables for each date and location. Once that date has been entered though I want the info to be permanently logged in their respective tables.

I.E.
Store 1 on 9-3-02
Product # $
XYZ 3 $20
TYW 5 $35

This info is then logged to Store 1 in the 9-3-02 column

On the form I can then do:
Store 3 on 9-3-02
Product # $
XYZ 13 $520
TYW 8 $315

This will be logged for Store 3 in the 9-3-02 column.

Thanks.
This message was edited by jinc13 on 2002-09-06 14:55
 
Master Excel Bundle

Excel contains over 450 functions, with more added every year. That’s a huge number, so where should you start? Right here with this bundle.

Forum statistics

Threads
1,167,697
Messages
5,855,228
Members
431,712
Latest member
Stella J

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Top