Auto Populate Multiple Adjacent Cells

MrDB4Excel

Active Member
Joined
Jan 29, 2004
Messages
348
Office Version
  1. 2013
Platform
  1. Windows
Some of the columns have me stumped. As you can see by the ISBLANK, ISERROR & other functions in columns A, I, J, K, L, M, N, O, & P that if a result is null then the cell is blank. I can’t seem to get these same functions to work as needed in columns B, C, D, E, F, G, & H.
Any help will be much appreciated. You will notice I have 2 entries regarding the Xl2bb that represent sheets Outlook Results and OutlookSortByName.

Conversations with Roger Caymin-2021.xlsx
ABCDEFGHIJKLMNOP
3Received Date Gleaned From Get Outlook Metadata.xlsmReceived Date FormulasReceived Time FormulasReceived Time In FormulaReceived Time: Pasted Values From Column "D"minuteMinuteSecondSenderSubjectDoc #SenderDate to apply to From dodge or To dodge date columnSender
410/11/2021 10:45:30Mon 11/Oct/202110:45:3010:4510:451045 dodgeRe: FW: Premium TRUE 1425: License to Kill959 >dodgeMon 11/Oct/2021dodge959 >1
510/11/2021 10:47:26Mon 11/Oct/202110:47:2610:4710:471047 dodgeRe: 12th Grade High School & This and that960 >dodgeMon 11/Oct/2021dodge960 >2
610/11/2021 12:12:08Mon 11/Oct/202112:12:0812:1212:121212 dodgeRe: Pineapples962 >dodgeMon 11/Oct/2021dodge962 >3
710/11/2021 13:23:11Mon 11/Oct/202113:23:1113:2313:231323 dodgeposting964 >dodgeMon 11/Oct/2021dodge964 >4
810/11/2021 09:31:02Mon 11/Oct/202109:31:0209:3109:310931 Codger12th Grade High School & This and that957 >CodgerMon 11/Oct/2021Codger957 >5
910/11/2021 09:49:02Mon 11/Oct/202109:49:0209:4909:490949 CodgerFW: Premium TRUE 1425: License to Kill958 >CodgerMon 11/Oct/2021Codger958 >6
1010/11/2021 11:08:11Mon 11/Oct/202111:08:1111:0811:081108 CodgerPineapples961 >CodgerMon 11/Oct/2021Codger961 >7
1110/11/2021 12:31:05Mon 11/Oct/202112:31:0512:3112:311231 CodgerBeach Boys963 >CodgerMon 11/Oct/2021Codger963 >8
12 #VALUE!#VALUE!#VALUE!#VALUE!##################   
13 #VALUE!#VALUE!#VALUE!#VALUE!##################   
14 #VALUE!#VALUE!#VALUE!#VALUE!##################   
15 #VALUE!#VALUE!#VALUE!#VALUE!##################   
16 #VALUE!#VALUE!#VALUE!#VALUE!##################   
17 #VALUE!#VALUE!#VALUE!#VALUE!##################   
18 #VALUE!#VALUE!#VALUE!#VALUE!##################   
19 #VALUE!#VALUE!#VALUE!#VALUE!##################   
20 #VALUE!#VALUE!#VALUE!#VALUE!##################   
21 #VALUE!#VALUE!#VALUE!#VALUE!##################   
22 #VALUE!#VALUE!#VALUE!#VALUE!##################   
Outlook Results
Cell Formulas
RangeFormula
A4:A22A4=IF(ISBLANK(OutlookSortByName!$A2)," ",(OutlookSortByName!$A2))
B4:B22B4=IF(A4="","",INT(A4))
C4:C22C4=IF(A4="","",A4 - INT(A4))
D4:D22D4=IF(C4="","",MROUND(C4,"0:1"))
E4:E22E4=D4
F4:F22F4=IF(HOUR($E4)=0,"",(HOUR($E4)))
G4:G22G4=IF(MINUTE($E4)=0,"",(MINUTE($E4)))
H4:H22H4=IF(SECOND($E4)=0,"",(SECOND($E4)))
I4:I22I4=IF(ISBLANK(OutlookSortByName!$B2)," ",(OutlookSortByName!$B2))
J4:J22J4=IF(ISBLANK(OutlookSortByName!$C2)," ",(OutlookSortByName!$C2))
K4:K22K4=IF(ISBLANK(OutlookSortByName!$E2)," ",(OutlookSortByName!$E2))
L4:L22,N4:N22L4=IF(ISBLANK($I4)," ",($I4))
M4:M22M4=IF(ISERROR(DATEVALUE(A4))," ",(DATEVALUE(A4)))
O4:O22O4=IF(OR(N4="dodge",N4="Codger"),K4,"")
P4:P22P4=IF(O4<>"",COUNTA($O$4:O4),"")
Named Ranges
NameRefers ToCells
OSBN=OFFSET(OutlookSortByName!$A$2,0,0,COUNTA(OutlookSortByName!$A:$A) - 1,COUNTA(OutlookSortByName!$1:$1))A4


Conversations with Roger Caymin-2021.xlsx
ABCDE
1ReceivedTimeSenderNamesubjectToDoc #
210/11/2021 10:45:30dodgeRe: FW: Premium TRUE 1425: License to KillCodger959 >
310/11/2021 10:47:26dodgeRe: 12th Grade High School & This and thatCodger960 >
410/11/2021 12:12:08dodgeRe: PineapplesCodger962 >
510/11/2021 13:23:11dodgepostingCodger964 >
610/11/2021 09:31:02Codger12th Grade High School & This and thatdodge957 >
710/11/2021 09:49:02CodgerFW: Premium TRUE 1425: License to Killdodge958 >
810/11/2021 11:08:11CodgerPineapplesdodge961 >
910/11/2021 12:31:05CodgerBeach Boysdodge963 >
10
11
12
13
14
15
16
17
18
19
20
OutlookSortByName
 

Excel Facts

Test for Multiple Conditions in IF?
Use AND(test, test, test, test) or OR(test, test, test, ...) as the logical_test argument of IF.
Well your cell in A4 downwards isnt blank. You ask it to produce " ". Then in B4 you say if equals "". Remove that space in the formula in A4.
 
Upvote 0
That takes care of columns B thru E, but columns F thru H remain with #VALUE! when column E cells are blank (they really are not blank because they subsequently have the formula =D#).
So for example in cell F12 is this formula: =IF(HOUR($E12)=0,"",(HOUR($E12))). in E12 is the formula =D12, but in the attached X2lbb E12 is blank because D12 is blank because cell C12's formula: =IF(C12="","",MROUND(C12,"0:1")) results in a blank answer. All of this is located in my original X2lbb.
 
Upvote 0
Perfect, thanks steve the fish! This worked exactly as it should, good work.
 
Upvote 0

Forum statistics

Threads
1,223,879
Messages
6,175,142
Members
452,615
Latest member
bogeys2birdies

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