Duplicate Info From The Cell Above based on true / false

ellison

Active Member
Joined
Aug 1, 2012
Messages
343
Office Version
  1. 365
Platform
  1. Windows
Hi, we are trying to:
i) duplicate anything that is in Info-V1 into Info-V2 (regardless of what is in the marker column)
ii) if Info-V1 is empty, but the marker is TRUE, enter into Info-V2 the next non-blank cell from above in Info-V1
ii) if Info-V1 is empty, and the the marker for that row is FALSE, leave Info-V2 blank

Hopefully this may help to explain a little......... 🙈


super-spreader-fill-down-by-formula-BUT-only-on-rows-which-are-TRUE.xlsx
ABCDE
1MarkerInfo-V1Info-V2Manual Notes (not needed, just here to try to help explain)
2TRUEalphaalphaDuplicate the string if it is Info-V1: alpha
3TRUEalphaIf there is nothing in Info-V1, check the marker, if it is TRUE, duplicate the next non-blank cell from above in Info-V1: alpha
4FALSEbetabetaDuplicate the string if it is Info-V1 (regardless of if the marker is TRUE or FALSE): beta
5FALSEIf there is nothing in the Info-V1 AND the marker for the row is FALSE, leave blank
6FALSEIf there is nothing in the Info-V1 AND the marker for the row is FALSE, leave blank
7FALSEcharliecharlieDuplicate the string if it is Info-V1 (regardless of if the marker is TRUE or FALSE): charlie
8FALSEIf there is nothing in the Info-V1, check the marker, if it FALSE, leave blank
9FALSEdeltadeltaDuplicate the string if it is Info-V1 (regardless of if the marker is TRUE or FALSE): delta
10TRUEdeltaIf there is nothing in Info-V1, check the marker, if it is TRUE, duplicate the next non-blank cell from above in Info-V1: delta
11TRUEdeltaIf there is nothing in Info-V1, check the marker, if it is TRUE, duplicate the next non-blank cell from above in Info-V1: delta
12FALSEIf there is nothing in the Info-V1, check the marker, if it FALSE, leave blank
13FALSEIf there is nothing in the Info-V1, check the marker, if it FALSE, leave blank
14TRUEechoechoDuplicate the string if it is Info-V1 (regardless of if the marker is TRUE or FALSE): echo
Sheet1


Thanks for taking a look!
 

Excel Facts

Remove leading & trailing spaces
Save as CSV to remove all leading and trailing spaces. It is faster than using TRIM().

Forum statistics

Threads
1,215,097
Messages
6,123,076
Members
449,094
Latest member
mystic19

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