Assistance needed with copying field to different places in Excel

FLHawkI

New Member
Joined
Oct 6, 2023
Messages
9
Office Version
  1. 2021
Platform
  1. Windows
I have an Excel Spreadsheet with the following: Date contained in cell A2 and a drop down list in Cell E2. There are 3 possible selections in Cell E2 - Text1, Text2, Text3. If Text1 is selected I want the date in Cell A2 to be copied to Cell H4. If Cell E2 has Text2 selected the date in Cell A2 Copied to H5. If Cell E2has Text3 selected the date in Cell A2 to copy to Cell H6. I keep getting circular reference when I try to use an if statement. For example in cell h4 put IF(E2="Text1",A2, leave the date in the cell alone). Then in cell H5 I tried to put =IF(E2="Text2",A2,leave the date in the cell alone). Circular reference. I hope someone can help?
 

Excel Facts

Waterfall charts in Excel?
Office 365 customers have access to Waterfall charts since late 2016. They were added to Excel 2019.
Book2
ABCDEFGH
1
210/6/23Text3
3
4 
5 
610/6/23
Sheet2
Cell Formulas
RangeFormula
A2A2=TODAY()
H4H4=IF(E2="Text1",A2,"")
H5H5=IF(E2="Text2",A2,"")
H6H6=IF(E2="Text3",A2,"")
Cells with Data Validation
CellAllowCriteria
E2ListText1,Text2,Text3
 
Upvote 0
When I try the if statements you recommended - I receive a "you can NOT have a CIRCULAR REFERENCE". I already tried that and it does not work.
 
Upvote 0
When I try the if statements you recommended - I receive a "you can NOT have a CIRCULAR REFERENCE". I already tried that and it does not work.
What is the source of your E2 list validation?

Also go to the Formula tab, and look for error checking -> circular references. These cells might not be the cause, but different cells.
 
Upvote 0
1696629939231.png
 
Upvote 0
What is the source of your E2 list validation? - A tab with the text fields in it.
 
Upvote 0
What is the source of your E2 list validation? - A tab with the text fields in it.
go to the Formula tab, and look for error checking -> circular references. It should show you the cells that are causing the error. Confirm that these cells were not the cause.
 
Upvote 0
They are the cause. The circular reference is the A2.
 
Upvote 0
If I put one if statement on the spreadsheet it works. It does not work with a second if statement!
 
Upvote 0

Forum statistics

Threads
1,215,129
Messages
6,123,210
Members
449,090
Latest member
bes000

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
Back
Top