Data displaying in column instead of row.

xFrosty

New Member
Joined
Nov 6, 2023
Messages
16
Office Version
  1. 2021
Platform
  1. Web
Hi there,

I have tried using Chat GPT to assist me with this particular thing I'm trying to achieve but I feel that I am entering the same formula over and over again just different ways of entering it in.

So here I am, frustrated because I've spent way too much time trying to get Excel to do what I want it to do.

So basically, I am trying to create a calendar thats a set and forget type thing. I have all the data matching to the dates etc, but what I want now is these particular figures to go into another cell(s) so I can track how much from each pay I need to set aside each week. I want the figures to go down the column, so far I've only managed to get them to appear across.

Heres where you come in.... Please help me before I give up! hahahaha.

These are the things I've tried

=IFERROR(INDEX($E$6:$R$10,SMALL(IF(ISNUMBER(SEARCH("S -",$E$6:$R$10)),ROW($E$6:$R$10)-ROW($E$6:$R$10)+1),ROW(INDIRECT("1:"&COUNTIF($E$6:$R$10,"S -*"))))),COLUMN(A1))

This one looked to be wanting to display the text I want but I only have the number 1 showing down the array.

Sample.xlsx
ABCDEFGHIJKLMNOPQRST
1November
2##########
3##########SundayMondayTuesdayWednesdayThursdayFridaySaturdayI want it to display this
4##########S - Phone
52829301234S - Debt
6` BILL & DEBT PAYMENTS CALENDAR `S - PhoneS - DebtS - PowerS - Power
7S - SchoolS - School
8TODAY'S DATE
9Tuesday, 7 Nov 2023Don’t want it to display this
10FoundNot FoundNot FoundNot FoundNot FoundNot FoundFoundNot FoundFoundNot FoundNot FoundNot FoundNot FoundNot Found
11Not FoundNot FoundNot FoundNot FoundNot FoundNot FoundNot FoundNot FoundFoundNot FoundNot FoundNot FoundNot FoundNot Found
12MONTHYEARNot FoundNot FoundNot FoundNot FoundNot FoundNot FoundNot FoundNot FoundNot FoundNot FoundNot FoundNot FoundNot FoundNot Found
13November2023
14
15START DAY
16Monday1
171
181
191
20
Sheet1
Cell Formulas
RangeFormula
B1B1=B13
A2A2=DATE(C13,A1,1)
A3A3=EOMONTH(A2,0)
A4,B9A4=TODAY()
E5E5=IF(B16="Sunday", A2 - WEEKDAY(A2, 1) + 1, IF(B16="Monday", A2 - WEEKDAY(A2, 2) + 1, ""))
G5,Q5,O5,M5,K5,I5G5=E5 + 1
E10:R12E10=IF(ISNUMBER(SEARCH("S -", E6:R8)), "Found", "Not Found")
E16:E19E16=IFERROR(INDEX($E$6:$R$8,SMALL(IF(ISNUMBER(SEARCH("S -",$E$6:$R$8)),ROW($E$6:$R$10)-ROW($E$6:$R$10)+1),ROW(INDIRECT("1:"&COUNTIF($E$6:$R$10,"S -*"))))),COLUMN(A1))
Dynamic array formulas.
Cells with Conditional Formatting
CellConditionCell FormatStop If True
C13Cell Valuebeginning with "✓"textNO
G5Expression=G5=TODAY()textNO
G5Expression=MonthToDisplayNumber<>MONTH(G5)textNO
E6:E7Cell Valuecontains "Payday"textNO
E6:E7Expression=E6=TODAY()textNO
E6:E7Expression=MonthToDisplayNumber<>MONTH(E6)textNO
E8Cell Valuecontains "Payday"textNO
E8Expression=E8=TODAY()textNO
E8Expression=MonthToDisplayNumber<>MONTH(E8)textNO
F5,H5,J5,L5,N5,P5,R5Cell Valuecontains "Payday"textNO
E5Expression=E5=TODAY()textNO
E5Expression=MonthToDisplayNumber<>MONTH(E5)textNO
G6:G8,I6:I8,K6:K8,M6:M8,O6:O8,Q6:Q8Cell Valuecontains "Payday"textNO
F5,K5:R5,H5:I5,G6:G8,I6:I8,K6:K8,M6:M8,O6:O8,Q6:Q8Expression=F5=TODAY()textNO
O8Expression=MonthToDisplayNumber<>MONTH(O8)textNO
F5,K5:R5,O6:O7,K6:K8,H5:I5,I6:I8,G6:G8,M6:M8,Q6:Q8Expression=MonthToDisplayNumber<>MONTH(F5)textNO
 

Excel Facts

Pivot Table Drill Down
Double-click any number in a pivot table to create a new report showing all detail rows that make up that number
Sample.xlsx
DEFGHIJKLMNOPQRSTU
2
3SundayMondayTuesdayWednesdayThursdayFridaySaturday
4
5303112345Phone - $34
6S - Phone - $34S - Debt - $30S - Power - $100Debt - $30
7S - School - $56Power - $100
8School - $56
9
10
11
12
13Total Needed$ -
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
Sheet1
Cell Formulas
RangeFormula
E5E5=IF(B16="Sunday", A2 - WEEKDAY(A2, 1) + 1, IF(B16="Monday", A2 - WEEKDAY(A2, 2) + 1, ""))
G5,Q5,O5,M5,K5,I5G5=E5 + 1
T5:T8T5=FILTERXML("<p><c>"&SUBSTITUTE(TEXTJOIN("</c><c>",1,E6:R10,E13:R17, E20:J24),"S - ","")&"</c></p>","//c")
U13U13=SUM(U5:U12)
Dynamic array formulas.
Cells with Conditional Formatting
CellConditionCell FormatStop If True
T5:U8Cell Valuecontains "Payday"textNO
T5:U8Expression=T5=TODAY()textNO
T5:U8Expression=MonthToDisplayNumber<>MONTH(T5)textNO
G5Expression=G5=TODAY()textNO
G5Expression=MonthToDisplayNumber<>MONTH(G5)textNO
E6:E7Cell Valuecontains "Payday"textNO
E6:E7Expression=E6=TODAY()textNO
E6:E7Expression=MonthToDisplayNumber<>MONTH(E6)textNO
E8Cell Valuecontains "Payday"textNO
E8Expression=E8=TODAY()textNO
E8Expression=MonthToDisplayNumber<>MONTH(E8)textNO
F5,H5,J5,L5,N5,P5,R5Cell Valuecontains "Payday"textNO
E5Expression=E5=TODAY()textNO
E5Expression=MonthToDisplayNumber<>MONTH(E5)textNO
G6:G8,I6:I8,K6:K8,M6:M8,O6:O8,Q6:Q8Cell Valuecontains "Payday"textNO
F5,K5:R5,H5:I5,G6:G8,I6:I8,K6:K8,M6:M8,O6:O8,Q6:Q8Expression=F5=TODAY()textNO
O8Expression=MonthToDisplayNumber<>MONTH(O8)textNO
F5,K5:R5,O6:O7,K6:K8,H5:I5,I6:I8,G6:G8,M6:M8,Q6:Q8Expression=MonthToDisplayNumber<>MONTH(F5)textNO
 
Upvote 0
That sample data looks no different to the previous. If they are the expected results on the right then we seem to have regressed to an earlier point where Description and amount are no longer in separate columns..
None of this clarifies to me just what you meant by
can this be used on different areas,
 
Upvote 0
That sample data looks no different to the previous. If they are the expected results on the right then we seem to have regressed to an earlier point where Description and amount are no longer in separate columns..
None of this clarifies to me just what you meant by
No sorry, the array has expended to a fortnightly basis. Im just trying to find another way around this. Stand by :)
 
Upvote 0
Lets just leave it as is, seems too complicated. I wanted to have the exsisting formula search within a 2 weekly basis.

I think this is my final thing.... for now haha.

How do I get the formula to find the dollar amounts in the cell and add them into U13.

Also, how do I get it to search for S - but omit J - and vice versa for his bills.

Sample.xlsx
DEFGHIJKLMNOPQRSTUV
3SundayMondayTuesdayWednesdayThursdayFridaySaturday
4
5303112345Phone - $34
6S - Phone - $34S - Debt - $30S - Power - $100Debt - $30
7S - School - $56Power - $100
8J - Audible - $14.00School - $56
9
10
11
12
13Total Needed$220.00
14
15
16J - Audible - $14.00
17
18
19
20
21
22
23
24
25Total Needed$ 14.00
26
27
28
Sheet1
Cell Formulas
RangeFormula
E5E5=IF(B16="Sunday", A2 - WEEKDAY(A2, 1) + 1, IF(B16="Monday", A2 - WEEKDAY(A2, 2) + 1, ""))
G5,Q5,O5,M5,K5,I5G5=E5 + 1
T5:T8T5=FILTERXML("<p><c>"&SUBSTITUTE(TEXTJOIN("</c><c>",1,E6:R7),"S - ","")&"</c></p>","//c")
T16T16=FILTERXML("<p><c>"&SUBSTITUTE(TEXTJOIN("</c><c>",1,E8:R9),"S - ","")&"</c></p>","//c")
Dynamic array formulas.
Cells with Conditional Formatting
CellConditionCell FormatStop If True
T20:T21Cell Valuecontains "Payday"textNO
T20:T21Expression=T20=TODAY()textNO
T20:T21Expression=MonthToDisplayNumber<>MONTH(T20)textNO
U20Cell Valuecontains "Payday"textNO
U20Expression=U20=TODAY()textNO
U20Expression=MonthToDisplayNumber<>MONTH(U20)textNO
T8:T9Cell Valuecontains "Payday"textNO
T8:T9Expression=T8=TODAY()textNO
T8:T9Expression=MonthToDisplayNumber<>MONTH(T8)textNO
T5:U7,U8Cell Valuecontains "Payday"textNO
T5:U7,U8Expression=T5=TODAY()textNO
T5:U7,U8Expression=MonthToDisplayNumber<>MONTH(T5)textNO
G5Expression=G5=TODAY()textNO
G5Expression=MonthToDisplayNumber<>MONTH(G5)textNO
F5,H5,J5,L5,N5,P5,R5Cell Valuecontains "Payday"textNO
E5Expression=E5=TODAY()textNO
E5Expression=MonthToDisplayNumber<>MONTH(E5)textNO
G6:G8,I6:I8,K6:K8,M6:M8,O6:O8,Q6:Q8,E6,E8,T18:U19,U17,T16:T17Cell Valuecontains "Payday"textNO
F5,K5:R5,H5:I5,G6:G8,I6:I8,K6:K8,M6:M8,O6:O8,Q6:Q8,E6,E8,T18:U19,U17,T16:T17Expression=E5=TODAY()textNO
O8Expression=MonthToDisplayNumber<>MONTH(O8)textNO
F5,K5:R5,O6:O7,K6:K8,H5:I5,I6:I8,G6:G8,M6:M8,Q6:Q8,E6,E8,T18:U19,U17,T16:T17Expression=MonthToDisplayNumber<>MONTH(E5)textNO
 
Upvote 0
Sigh and this last thing too please, on the 17 November, youll see S and J to indicate our paydays.

How would I enter in a check box beside the phone and have it grey out and strikethrough when a bill has been paid? It didnt come up when I entered this mock up.

Im assuming that it would show the same result in the bills panel on the far right?

Sample.xlsx
ABCDEFGHIJKLMNOPQRSTUV
1PAY DATES       
2NameDate1314151617S, J1819
3S17 NovPhone - $34.00Fortnight 1Fortnight 2
4J17 NovPhone - $34.00Debt - $30.00
5Debt - $30.00Power - $100.00
6
7
8
9
Sheet1
Cell Formulas
RangeFormula
E1E1=IFERROR(IF(MATCH($E$12, $C$29:$C$46, 0), ":★ " & INDEX($B$29:$B$46, MATCH($E$12, $C$29:$C$46, 0)) & " ★", ""), "")
G1G1=IFERROR(IF(MATCH($G$12, $C$29:$C$46, 0), ":★ " & INDEX($B$29:$B$46, MATCH($G$12, $C$29:$C$46, 0)) & " ★", ""), "")
I1I1=IFERROR(IF(MATCH($I$12, $C$29:$C$46, 0), ":★ " & INDEX($B$29:$B$46, MATCH($I$12, $C$29:$C$46, 0)) & " ★", ""), "")
K1K1=IFERROR(IF(MATCH($K$12, $C$29:$C$46, 0), ":★ " & INDEX($B$29:$B$46, MATCH($K$12, $C$29:$C$46, 0)) & " ★", ""), "")
M1M1=IFERROR(IF(MATCH($M$12, $C$29:$C$46, 0), ":★ " & INDEX($B$29:$B$46, MATCH($M$12, $C$29:$C$46, 0)) & " ★", ""), "")
O1O1=IFERROR(IF(MATCH($O$12, $C$29:$C$46, 0), ":★ " & INDEX($B$29:$B$46, MATCH($O$12, $C$29:$C$46, 0)) & " ★", ""), "")
Q1Q1=IFERROR(IF(MATCH($Q$12, $C$29:$C$46, 0), ":★ " & INDEX($B$29:$B$46, MATCH($Q$12, $C$29:$C$46, 0)) & " ★", ""), "")
Cells with Conditional Formatting
CellConditionCell FormatStop If True
E3:R7,E8Cell Valuecontains "S -"textNO
E8Expression=MonthToDisplayNumber<>MONTH(E8)textNO
E8Expression=MonthToDisplayNumber<>MONTH(E8)textNO
F2,H2,J2,L2,N2,P2,R2Cell Valuecontains "Payday"textNO
E8Cell Valuecontains "Birthday"textNO
E2:R2,K3:K7,M3:M7,E3:E8,Q3:Q7,I3:I7,O3:O7,G4:G7Cell Valuecontains "Payday"textNO
F2:R2,K3:K7,M3:M7,Q3:Q7,I3:I7,O3:O7,E2:E8,G4:G7Expression=E2=TODAY()textNO
P2:Q2Expression=P2=TODAY()textNO
F2:R2,I3:I7,M3:M7,O3:O7,Q3:Q7,K3:K7,E2:E8,G4:G7Expression=MonthToDisplayNumber<>MONTH(E2)textNO
 

Attachments

  • Capture.PNG
    Capture.PNG
    19.3 KB · Views: 3
Upvote 0
How do I get the formula to find the dollar amounts in the cell and add them into U13.
Why not split them out to their own column as in post #9 & below?

Also, how do I get it to search for S - but omit J

xFrosty.xlsm
EFGHIJKLMNOPQRSTU
530313233343536Phone34
6S - Phone - $34S - Debt - $30S - Power - $100Debt30
7S - School - $56Power100
8J - Audible - $14.00School56
9
10
11
12
13Total Needed220
Sheet1
Cell Formulas
RangeFormula
G5,Q5,O5,M5,K5,I5G5=E5 + 1
T5:T8T5=FILTERXML("<p><c>"&TEXTJOIN("</c><c>",1,IF(LEFT(E6:Q8,1)="S",TRIM(MID(SUBSTITUTE(E6:Q8,"-",REPT(" ",100)),100,100)),""))&"</c></p>","//c")
U5:U8U5=FILTERXML("<p><c>"&TEXTJOIN("</c><c>",1,IF(LEFT(E6:Q8,1)="S",TRIM(RIGHT(SUBSTITUTE(E6:Q8,"-",REPT(" ",100)),100)),""))&"</c></p>","//c")
U13U13=SUM(U5#)
Dynamic array formulas.
 
Upvote 0
Oh, because I want it to search in several rows and columns but it seems that formula doesnt work.
 

Attachments

  • Capture.PNG
    Capture.PNG
    21.6 KB · Views: 3
Upvote 0

Forum statistics

Threads
1,215,068
Messages
6,122,950
Members
449,095
Latest member
nmaske

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