Revenue report depend on date

forza fiume

New Member
Joined
Nov 17, 2022
Messages
8
Office Version
  1. 2019
Platform
  1. MacOS
Dear Mr Excel,
of course, I have a problem.
In the hotel where I work, we have to make a daily report of sold souvenirs and other items. I solved columns K,L and M but I have a problem with column N.
For now in cell N3 formula is =XLOOKUP(K3;$A$3:$A$301;$D$3:$D$301;0; 0) and that is fine for one day.
My wish is that column N show value depending on the date chosen in N1( drop-down list). Which formula can choose D, E, F ...etc. for every day in a month

Daily report should be saved like a PDF to send to the bookkeeper.
Excel file must have a sheet for every month.

thank in advance
PS.
Sorry on my broken english

Sissy shop report-min.png
 

Excel Facts

Select a hidden cell
Somehide hide payroll data in column G? Press F5. Type G1. Enter. Look in formula bar while you arrow down through G.
I don't know xlookup that well so someone else might be able to jump in with a newer Excel formula to solve for this. You want to use an Index(Match(),Match()) function. I think I nailed the formula from your picture but you may need to adjust some of the ranges.

=INDEX($A$2:$E$301,MATCH($K3,$A$2:$A$301,0),MATCH(N$1,$A$2:$E$2,0))

The formula above is looking to match both the Item Number and the Date and give you the intersection of the data.

mfg.
 
Upvote 0
Did you find a good solution or are you still looking for help? What errors does this bring up?
 
Upvote 0
Thx for asking, I still looking for solution
Proba Sissy1.xlsx
D
100
Prodaja


or
12/1/2212/2/22DAILY REPORT forDATUM12/1/22
Produkt IDName Einzelpreis € UNITUNITRevenueProdukt IDName Einzelpreis € Unit SOLDRevenue
1000Aura Teranino (Rotweinlikör) 0,7L25.00 €010011001Aura Oliven und Mandeln 0,7L (Maslina I Badem)€ 25.00100€ 2,500.00
1001Aura Oliven und Mandeln 0,7L (Maslina I Badem)25.00 €10011250021003Aura Wildbirne 0,7L (Divlja kruška)€ 25.00101€ 2,525.00
1002Aura Wilder Apfel 0,7L (Divlja jabuka)25.00 €012031011Aura Feigen 0,7 L (Smokva)€ 25.0022€ 550.00
1003Aura Wildbirne 0,7L (Divlja kruška)25.00 €10112252541012Aura Teranino (Rotweinlikör) 0,2L€ 13.0015€ 195.00
1004Aura Kräuterbrand 0,7L (Travarica)25.00 €0051014Aura Wilder Apfel 0,2L€ 13.005€ 65.00
1005Aura Salbei 0,7L (Kadulja)25.00 €0061016Aura Kräuterbrand 0,2L€ 13.002€ 26.00
1006Aura Kornelkirsche 0,7L (Drijen)25.00 €0071017Aura Salbei 0,2L€ 13.003€ 39.00
1007Aura Grappa Muscato 0,7L25.00 €03081019Aura Grappa Muscato 0,2L€ 13.002€ 26.00
1008Aura Divlje Voce (Waldbeeren) 0,7 L25.00 €0091021Aura Grappa Bianca 0,2 L € 13.005€ 65.00
1009Aura Biska 0,7 l25.00 €00104049Schafskäse mit Trüffeln 220g€ 16.001€ 16.00
1010Aura Grappa Bianca 0,7 L 25.00 €00115009BIOBAZA BODY LOTION PURPLE FRESHNESS lavanda & limun€ 7.001€ 7.00
1011Aura Feigen 0,7 L (Smokva)25.00 €2255012 0#VALUE!
1012Aura Teranino (Rotweinlikör) 0,2L13.00 €1519513 0#VALUE!
1013Aura Oliven und Mandeln 0,2L13.00 €014 0#VALUE!
1014Aura Wilder Apfel 0,2L13.00 €56515 0#VALUE!
1015Aura Wildbirne 0,2L13.00 €016 0#VALUE!
1016Aura Kräuterbrand 0,2L13.00 €22617 0#VALUE!
1017Aura Salbei 0,2L13.00 €33918 0#VALUE!
1018Aura Kornkirsche 0,2L13.00 €019 0#VALUE!
1019Aura Grappa Muscato 0,2L13.00 €22620 0#VALUE!
1020Aura Feigen 0,2 L (Smokva)13.00 €021 0#VALUE!
1021Aura Grappa Bianca 0,2 L 13.00 €56522 0#VALUE!
1022Aura Biska 0,2 l13.00 €023 0#VALUE!
1023Aura Pflaumenschnaps 0,2 l13.00 €024 0#VALUE!
1024Aura Honigschnaps 0,2 l13.00 €025 0#VALUE!
1025Aura Divlje Voce (Waldbeeren) 0,2 L13.00 €026 0#VALUE!
1026Aura Teranino (Rotweinlikör) 0,1L8.00 €027 0#VALUE!
1027Aura Oliven und Mandeln 0,1L8.00 €028 0#VALUE!
1028Aura Wilder Apfel 0,1L8.00 €029TOTALE€ 257.00€ 6,014.00
1029Aura Wildbirne 0,1L8.00 €0
1030Aura Kräuterbrand 0,1L8.00 €0
1031Aura Salbei 0,1L8.00 €0
1032Aura Kornkirsche 0,1L8.00 €0
1033Aura Grappa Muscato 0,1L8.00 €0
1034Aura Divlje Voce (Waldbeeren) 0,1 L8.00 €0
1035Aura Feigen 0,1 L8.00 €0
1036Aura Grappa Bianca 0,1 L8.00 €0
1037Aura Feigenkonfiture8.00 €0
1038Aura Pflaumenkonfiture8.00 €0
1039Aura Brombeerkonfiture8.00 €0
1040Aura Himbeerkonfiture8.00 €0
 
Upvote 0
Thx, good tip. For column N; N3:N28 I make this N3=INDEX(D3:F251;XMATCH(K3;A3:A251);XMATCH($N$1;$D$2:$F$2)),
if I choose in cell N1 -01.12.2022 work good for column "D" for column E (2.12.2022) and etc list formula keep product ID and name of 1.12.22 even value in D column is ”0”.
So, column N3:N28 should copy value from column D or E depending on the date I choose in N1. In daily report, value can not be a ZERO or empty
 
Upvote 0
DAILY REPORT forDATUM02/12/22
Produkt IDName Einzelpreis € 12/1/2212/2/2212/3/22Produkt IDName Einzelpreis € Unit SOLDRevenue
1000Aura Teranino (Rotweinlikör) 0,7L25.00 $1311000Aura Teranino (Rotweinlikör) 0,7L€ 25.003€ 75.00
1001Aura Oliven und Mandeln 0,7L (Maslina I Badem)25.00 $2021001Aura Oliven und Mandeln 0,7L (Maslina I Badem)€ 25.000€ 0.00
1002Aura Wilder Apfel 0,7L (Divlja jabuka)25.00 $3531002Aura Wilder Apfel 0,7L (Divlja jabuka)€ 25.005€ 125.00
1003Aura Wildbirne 0,7L (Divlja kruška)25.00 $441003Aura Wildbirne 0,7L (Divlja kruška)€ 25.000€ 0.00
1004Aura Kräuterbrand 0,7L (Travarica)25.00 $551004Aura Kräuterbrand 0,7L (Travarica)€ 25.000€ 0.00
1005Aura Salbei 0,7L (Kadulja)25.00 $1061005Aura Salbei 0,7L (Kadulja)€ 25.000€ 0.00
1006Aura Kornelkirsche 0,7L (Drijen)25.00 $77 #N/A#N/A
1007Aura Grappa Muscato 0,7L25.00 $88 #N/A#N/A
1008Aura Divlje Voce (Waldbeeren) 0,7 L25.00 $99 #N/A#N/A
1009Aura Biska 0,7 l25.00 $1010 #N/A#N/A
1010Aura Grappa Bianca 0,7 L 25.00 $1111 #N/A#N/A
1011Aura Feigen 0,7 L (Smokva)25.00 $1212 #N/A#N/A
1012Aura Teranino (Rotweinlikör) 0,2L13.00 $1313 #N/A#N/A
1013Aura Oliven und Mandeln 0,2L13.00 $14 #N/A#N/A
1014Aura Wilder Apfel 0,2L13.00 $3315 #N/A#N/A
1015Aura Wildbirne 0,2L13.00 $16 #N/A#N/A
1016Aura Kräuterbrand 0,2L13.00 $17 #N/A#N/A
1017Aura Salbei 0,2L13.00 $518 #N/A#N/A
1018Aura Kornkirsche 0,2L13.00 $19 #N/A#N/A
1019Aura Grappa Muscato 0,2L13.00 $20 #N/A#N/A
1020Aura Feigen 0,2 L (Smokva)13.00 $21 #N/A#N/A
1021Aura Grappa Bianca 0,2 L 13.00 $22 #N/A#N/A
1022Aura Biska 0,2 l13.00 $23 #N/A#N/A
1023Aura Pflaumenschnaps 0,2 l13.00 $24 #N/A#N/A
1024Aura Honigschnaps 0,2 l13.00 $25 #N/A#N/A
1025Aura Divlje Voce (Waldbeeren) 0,2 L13.00 $26 #N/A#N/A
1026Aura Teranino (Rotweinlikör) 0,1L8.00 $27 #N/A#N/A
1027Aura Oliven und Mandeln 0,1L8.00 $28TOTALE€ 8.00€ 200.00
1028Aura Wilder Apfel 0,1L8.00 $29
 
Upvote 0

Forum statistics

Threads
1,215,642
Messages
6,125,989
Members
449,277
Latest member
Fanamos298

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