Adding a column that nullifies cells when something is entered in it

Chandler8

New Member
Joined
Jun 29, 2022
Messages
23
Office Version
  1. 365
  2. 2016
Platform
  1. Windows
Reference: Adding a column that nullifies cells when something is entered in it.

Hey guys, appreciate the help. What I need is a formula in the AG column in the Guest_Info sheet that allows for me to put in a "E". When this "E" is entered in that cell it somehow nullifies the dates that these guests stayed in this row and doesn't send them to the query. These dates are carried over to a query that I have to do a specific count on how many days each guest stays. This "E" would be used for dates that aren't counted against guests. Or I could even put this "E" in there to not count members names since they have full time access anyways. Does this make sense? Here is the workbook. Let me know if I can elaborate further. Again, thank you so much!

Data.xlsm
ABCDEFGHIJKQWACADAEAFAGAHAIAJ
1Guest Information
2
3Check_InCheck_Out#_of_DaysPropertyLease_HolderRegistered_Guest1Registered_Guest2Registered_Guest3Registered_Guest4Registered_Guest5ABCDSponsor_Last_NameGuest_Acct_#CommentsExclude#_Keys_Given#_Keys_ReturnedKey # -Notes
45/19/20225/21/20222R Hart: 152 Island Drive, Unit BCatherine FryeCatherine FryeRick JonesJordan 36652Catherine #'s 1,2
55/21/20225/22/20221Leary: 170 Loch Dornie, Unit EGreg ProctorGreg ProctorTrina ProctorMark PooveySharon PooveyMembers1Greg (#1)
65/26/20225/30/20224Laskin: 1236 Mountain SpringsNeal BlindeNeal BlindeJessica BlindeArden BlindeNorah BlindeGraham BlindeMembers
75/26/20225/31/20225L. Hart: 934 Hillside DriveStacie MenichellaStacie MenichellaDan MenichellaBryce MenichellaBrandon ArtiquaLauren ArtiquaMembers4Stacie #'s 1,2 Dan (#3) Brandon (#4)
85/27/20225/30/20223Belk: 987 Mountain SpringsDave PowellDave PowellMeredith PowellPorter PowellRivers PowellElla PowellTurner36682Dave #'s 1,2
95/27/20225/30/20223Young: 282 North WildflowerDavid TaylorDavid TaylorElizabeth TaylorBroughton TaylorWilliam TaylorMembers2David (#1) Elizabeth (#2)
106/1/20227/3/202232Garrison: 248 South WildflowerBrandon BrownBrandon BrownSara BrownThomas Brown William BrownMembers2
116/4/20226/12/20228Young: 282 North WildflowerChris LoweChris LoweHeather LoweCollis LoweTaylor LoweLaura LoweJim Wood36662Chris (#3) Heather (#4)
126/5/20226/15/202210Howey: 995 Hillside DriveRobert MaclnnisRobert MaclnnisJan MaclnnisJay MaclnnisSean MaclnnisRay GoffGCP3667Dogs Approved2Robert #'s 1,2
136/8/20226/10/20222Walters: 141 Lakeview, Unit AGGCCCraig SmithGGCCCraig (#3)
146/9/20226/22/202213Flowers: 276 Island Drive, Unit BAudra RankinAudra RankinHunter RankinEllen RankinAddie RankinJohn Black32682Audra #'s 1,2
156/10/20226/17/20227Laskin: 1236 Mountain SpringsStacie MenichellaStacie MenichellaDan MenichellaBryce MenichellaDebra DawsonRick DawsonMembers
166/11/20226/14/20223Leary: 170 Loch Dornie, Unit EClifton CameronClifton CameronShannon CameronKeens CameronLily CameronHolden CameronMembers2Clifton #'s 1,2
176/12/20226/15/20223Walters: 141 Lakeview, Unit AOwen GwynOwen GwynDarri GwynMembers2Own #'s 1,2
186/17/20226/19/20222Sewell: 210 Loch Dornie, Unit BMichael PattonMichael PattonAmy PattonMembers2Michael #'s 1,2
196/18/20227/1/202213Laskin: 1236 Mountain SpringsAnne WarrenAnne WarrenEllie WarenTimothy WarrenClaire WarrenJeff WarrenMcCavera3670
206/19/20226/22/20223Porterfield: 161 Mountain ViewPatrick WalshPatrick WalshEmily WalshMichael WalshMartha WalshPatrick Jr. WalshGGCC/Porter36691Patrick (#1)
216/22/20226/26/20224Leary: 170 Loch Dornie, Unit EMark FrischMark FrischMembers1Mark (#3)
226/23/20226/26/20223Porterfield: 161 Mountain ViewAnne McGowanCam FindlayAmy FindlayDavid FindlaySusan FindlayKathryn BeiserMembers1
236/23/20226/30/20227L Hart: 934 Hillside DriveHans Stig MollerHans Stig MollerNancy Stig MollerCatherine Stig MollerRita Stig MollerJens Stig MollerDalrymple36713Hans #'s 1,2,3
246/24/20227/1/20227Howey: 995 Hillside DriveGinny ShawGinny ShawRuthie ShawFinley ShawRobbie ShawAlan ShawNA36722Ginny (#3) Robbie (#4)
256/26/20226/27/20221King: 141 Lakeview, Unit CDavid PowellChip Dotson Mike KavanaghJohn LadyPowell2John (#1) Mike (#2)
266/26/20227/1/20225Young: 282 North WildflowerTony SimmonsJohn SimmonsCathy SimonsElliott SimmonsDavid SimmonsMary Catherine SimmonsMembers2Cathy #'s 1,2
276/28/20227/2/20224Ford: 306 Woodchuck, Unit BKelly TaylorKelly TaylowMatt TaylorHank TaylorMaggie TaylorThrelkeld3673Kelly #'s 1,2
286/29/20227/10/202211Sewell: 210 Loch Dornie, Unit BCathy BlackwelderCathy BlackwelderEmery BlackwelderChip BlackwelderAlli WengertBen WengertBlackwelder3525Cathy #'s 3,4 Emery #'s 5,6
297/1/20227/5/20224Young: 282 North WildflowerMary JohnstonMary JohnstonDean JohnstonJack JohnstonCaroline JohnstonAinsley HeffingerMembers2Dean #'s 3,4
307/1/20227/6/20225Walters: 141 Lakeview, Unit AJody BrinsonJody BrinsonCharles BrinsonWilliams36742Jody #'s 1,2
Guest_Info
Cell Formulas
RangeFormula
C4:C30C4=IF(B4-A4=0,"",B4-A4)
Cells with Conditional Formatting
CellConditionCell FormatStop If True
F3:F1048576Cellcontains a blank value textNO
F4:V994Cell ValueduplicatestextNO


Data.xlsm
ABCDEF
1GuestLast_NameCheck_InCheck_OutSponsor_Last_NameLease_Holder
2Catherine FryeFrye5/19/20225/21/2022Jordan Catherine Frye
3Rick JonesJones5/19/20225/21/2022Jordan Catherine Frye
4Greg ProctorProctor5/21/20225/22/2022MembersGreg Proctor
5Trina ProctorProctor5/21/20225/22/2022MembersGreg Proctor
6Mark PooveyPoovey5/21/20225/22/2022MembersGreg Proctor
7Sharon PooveyPoovey5/21/20225/22/2022MembersGreg Proctor
8Neal BlindeBlinde5/26/20225/30/2022MembersNeal Blinde
9Jessica BlindeBlinde5/26/20225/30/2022MembersNeal Blinde
10Arden BlindeBlinde5/26/20225/30/2022MembersNeal Blinde
11Norah BlindeBlinde5/26/20225/30/2022MembersNeal Blinde
12Graham BlindeBlinde5/26/20225/30/2022MembersNeal Blinde
13Stacie MenichellaMenichella5/26/20225/31/2022MembersStacie Menichella
14Dan MenichellaMenichella5/26/20225/31/2022MembersStacie Menichella
15Bryce MenichellaMenichella5/26/20225/31/2022MembersStacie Menichella
16Brandon ArtiquaArtiqua5/26/20225/31/2022MembersStacie Menichella
17Lauren ArtiquaArtiqua5/26/20225/31/2022MembersStacie Menichella
18Dave PowellPowell5/27/20225/30/2022TurnerDave Powell
19Meredith PowellPowell5/27/20225/30/2022TurnerDave Powell
20Porter PowellPowell5/27/20225/30/2022TurnerDave Powell
21Rivers PowellPowell5/27/20225/30/2022TurnerDave Powell
22Ella PowellPowell5/27/20225/30/2022TurnerDave Powell
23David TaylorTaylor5/27/20225/30/2022MembersDavid Taylor
24Elizabeth TaylorTaylor5/27/20225/30/2022MembersDavid Taylor
25Broughton TaylorTaylor5/27/20225/30/2022MembersDavid Taylor
26William TaylorTaylor5/27/20225/30/2022MembersDavid Taylor
27Brandon BrownBrown6/1/20227/3/2022MembersBrandon Brown
28Sara BrownBrown6/1/20227/3/2022MembersBrandon Brown
29Thomas Brown Brown 6/1/20227/3/2022MembersBrandon Brown
30William BrownBrown6/1/20227/3/2022MembersBrandon Brown
31Chris LoweLowe6/4/20226/12/2022Jim WoodChris Lowe
32Heather LoweLowe6/4/20226/12/2022Jim WoodChris Lowe
33Collis LoweLowe6/4/20226/12/2022Jim WoodChris Lowe
34Taylor LoweLowe6/4/20226/12/2022Jim WoodChris Lowe
35Laura LoweLowe6/4/20226/12/2022Jim WoodChris Lowe
36Robert MaclnnisMaclnnis6/5/20226/15/2022GCPRobert Maclnnis
37Jan MaclnnisMaclnnis6/5/20226/15/2022GCPRobert Maclnnis
38Jay MaclnnisMaclnnis6/5/20226/15/2022GCPRobert Maclnnis
39Sean MaclnnisMaclnnis6/5/20226/15/2022GCPRobert Maclnnis
40Ray GoffGoff6/5/20226/15/2022GCPRobert Maclnnis
41Mary HarrisonHarrison6/5/20226/15/2022GCPRobert Maclnnis
42Craig SmithSmith6/8/20226/10/2022GGCCGGCC
43Audra RankinRankin6/9/20226/22/2022John BlackAudra Rankin
44Hunter RankinRankin6/9/20226/22/2022John BlackAudra Rankin
45Ellen RankinRankin6/9/20226/22/2022John BlackAudra Rankin
46Addie RankinRankin6/9/20226/22/2022John BlackAudra Rankin
47Stacie MenichellaMenichella6/10/20226/17/2022MembersStacie Menichella
48Dan MenichellaMenichella6/10/20226/17/2022MembersStacie Menichella
49Bryce MenichellaMenichella6/10/20226/17/2022MembersStacie Menichella
50Debra DawsonDawson6/10/20226/17/2022MembersStacie Menichella
51Rick DawsonDawson6/10/20226/17/2022MembersStacie Menichella
52John StewartStewart6/10/20226/17/2022MembersStacie Menichella
53Lynn StewartStewart6/10/20226/17/2022MembersStacie Menichella
54Clifton CameronCameron6/11/20226/14/2022MembersClifton Cameron
55Shannon CameronCameron6/11/20226/14/2022MembersClifton Cameron
56Keens CameronCameron6/11/20226/14/2022MembersClifton Cameron
57Lily CameronCameron6/11/20226/14/2022MembersClifton Cameron
58Holden CameronCameron6/11/20226/14/2022MembersClifton Cameron
59Owen GwynGwyn6/12/20226/15/2022MembersOwen Gwyn
60Darri GwynGwyn6/12/20226/15/2022MembersOwen Gwyn
61Michael PattonPatton6/17/20226/19/2022MembersMichael Patton
62Amy PattonPatton6/17/20226/19/2022MembersMichael Patton
63Anne WarrenWarren6/18/20227/1/2022McCaveraAnne Warren
64Ellie WarenWaren6/18/20227/1/2022McCaveraAnne Warren
65Timothy WarrenWarren6/18/20227/1/2022McCaveraAnne Warren
66Claire WarrenWarren6/18/20227/1/2022McCaveraAnne Warren
67Jeff WarrenWarren6/18/20227/1/2022McCaveraAnne Warren
68Grant WarrenWarren6/18/20227/1/2022McCaveraAnne Warren
69Lydia StrunckStrunck6/18/20227/1/2022McCaveraAnne Warren
70Graham StrunckStrunck6/18/20227/1/2022McCaveraAnne Warren
71Evie StrunckStrunck6/18/20227/1/2022McCaveraAnne Warren
72Charlotte StrunckStrunck6/18/20227/1/2022McCaveraAnne Warren
73Patrick WalshWalsh6/19/20226/22/2022GGCC/PorterPatrick Walsh
74Emily WalshWalsh6/19/20226/22/2022GGCC/PorterPatrick Walsh
75Michael WalshWalsh6/19/20226/22/2022GGCC/PorterPatrick Walsh
76Martha WalshWalsh6/19/20226/22/2022GGCC/PorterPatrick Walsh
77Patrick Jr. WalshJr. Walsh6/19/20226/22/2022GGCC/PorterPatrick Walsh
78Jenna WalshWalsh6/19/20226/22/2022GGCC/PorterPatrick Walsh
79Emma WalshWalsh6/19/20226/22/2022GGCC/PorterPatrick Walsh
80Ann WalshWalsh6/19/20226/22/2022GGCC/PorterPatrick Walsh
81Mark FrischFrisch6/22/20226/26/2022MembersMark Frisch
82Cam FindlayFindlay6/23/20226/26/2022MembersAnne McGowan
83Amy FindlayFindlay6/23/20226/26/2022MembersAnne McGowan
84David FindlayFindlay6/23/20226/26/2022MembersAnne McGowan
85Susan FindlayFindlay6/23/20226/26/2022MembersAnne McGowan
86Kathryn BeiserBeiser6/23/20226/26/2022MembersAnne McGowan
87Mick DomagalaDomagala6/23/20226/26/2022MembersAnne McGowan
88Margie BennettBennett6/23/20226/26/2022MembersAnne McGowan
89Mike BennettBennett6/23/20226/26/2022MembersAnne McGowan
90Julie KunetkaKunetka6/23/20226/26/2022MembersAnne McGowan
91Marjorie NewmanNewman6/23/20226/26/2022MembersAnne McGowan
92Matthew NewmanNewman6/23/20226/26/2022MembersAnne McGowan
93Hans Stig MollerStig Moller6/23/20226/30/2022DalrympleHans Stig Moller
94Nancy Stig MollerStig Moller6/23/20226/30/2022DalrympleHans Stig Moller
95Catherine Stig MollerStig Moller6/23/20226/30/2022DalrympleHans Stig Moller
96Rita Stig MollerStig Moller6/23/20226/30/2022DalrympleHans Stig Moller
97Jens Stig MollerStig Moller6/23/20226/30/2022DalrympleHans Stig Moller
98Raymond ColtrainColtrain6/23/20226/30/2022DalrympleHans Stig Moller
99Kay ColtrainColtrain6/23/20226/30/2022DalrympleHans Stig Moller
100Tom SmithSmith6/23/20226/30/2022DalrympleHans Stig Moller
101Martha SmithSmith6/23/20226/30/2022DalrympleHans Stig Moller
102Ginny ShawShaw6/24/20227/1/2022NAGinny Shaw
103Ruthie ShawShaw6/24/20227/1/2022NAGinny Shaw
104Finley ShawShaw6/24/20227/1/2022NAGinny Shaw
105Robbie ShawShaw6/24/20227/1/2022NAGinny Shaw
106Alan ShawShaw6/24/20227/1/2022NAGinny Shaw
107Mary Howard ShawHoward Shaw6/24/20227/1/2022NAGinny Shaw
108Ashley ShawShaw6/24/20227/1/2022NAGinny Shaw
109Gaye LawLaw6/24/20227/1/2022NAGinny Shaw
110Chip Dotson Dotson 6/26/20226/27/2022PowellDavid Powell
111Mike KavanaghKavanagh6/26/20226/27/2022PowellDavid Powell
112John LadyLady6/26/20226/27/2022PowellDavid Powell
113John SimmonsSimmons6/26/20227/1/2022MembersTony Simmons
114Cathy SimonsSimons6/26/20227/1/2022MembersTony Simmons
115Elliott SimmonsSimmons6/26/20227/1/2022MembersTony Simmons
116David SimmonsSimmons6/26/20227/1/2022MembersTony Simmons
117Mary Catherine SimmonsCatherine Simmons6/26/20227/1/2022MembersTony Simmons
118Anna Grace SimmonsGrace Simmons6/26/20227/1/2022MembersTony Simmons
119Kelly TaylowTaylow6/28/20227/2/2022ThrelkeldKelly Taylor
120Matt TaylorTaylor6/28/20227/2/2022ThrelkeldKelly Taylor
121Hank TaylorTaylor6/28/20227/2/2022ThrelkeldKelly Taylor
122Maggie TaylorTaylor6/28/20227/2/2022ThrelkeldKelly Taylor
123Cathy BlackwelderBlackwelder6/29/20227/10/2022BlackwelderCathy Blackwelder
124Emery BlackwelderBlackwelder6/29/20227/10/2022BlackwelderCathy Blackwelder
125Chip BlackwelderBlackwelder6/29/20227/10/2022BlackwelderCathy Blackwelder
126Alli WengertWengert6/29/20227/10/2022BlackwelderCathy Blackwelder
127Ben WengertWengert6/29/20227/10/2022BlackwelderCathy Blackwelder
128Mary JohnstonJohnston7/1/20227/5/2022MembersMary Johnston
129Dean JohnstonJohnston7/1/20227/5/2022MembersMary Johnston
130Jack JohnstonJohnston7/1/20227/5/2022MembersMary Johnston
131Caroline JohnstonJohnston7/1/20227/5/2022MembersMary Johnston
132Ainsley HeffingerHeffinger7/1/20227/5/2022MembersMary Johnston
133Sam HeffingerHeffinger7/1/20227/5/2022MembersMary Johnston
134Jody BrinsonBrinson7/1/20227/6/2022WilliamsJody Brinson
135Charles BrinsonBrinson7/1/20227/6/2022WilliamsJody Brinson
Query
 

Excel Facts

Using Function Arguments with nested formulas
If writing INDEX in Func. Arguments, type MATCH(. Use the mouse to click inside MATCH in the formula bar. Dialog switches to MATCH.

Forum statistics

Threads
1,223,228
Messages
6,170,871
Members
452,363
Latest member
merico17

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