Issues with Capitalisation

MKGIA

New Member
Joined
Aug 1, 2024
Messages
3
Office Version
  1. Prefer Not To Say
Hi All, hoping for some help, many thanks in advance.

So I have a 13 sheet petty cash sheet. 1 Sheet per month, and 1 summary page.

On the summary page I have a Query function that gives me a weekly list of purchases made (read from manual entries on the monthly pages), this is still shown by purchase. Ie, today I bought 2 loaves of bread, yesterday was 3 loaves of bread and a lemon.

Also on this page I also have a product spotlight summary which reads the week and countifs it, so rather than entry by entry I can quickly see this last week I bought 7 loaves of bread total. This is down with a =unique and sumif functions.

However, I've just seen that last week, we bought 7 loaves of bread, but in the weekly product spotlight it says i bought "Bread x 7 £7.00" AND "bread x 7 £7.00" - so the unique function is case sensitive but the sumifs are not, so the 7 loaves are counted twice as some entries are made with a capital and some aren't.

I've tried adding a proper function, =unique(proper(range)) gave me a blank and =proper(unique(range)) gave me one correct answer but didn't autofill downwards with everything else I bought, just whatever the first item was.

Any help would be great, thanks!

G
 

Excel Facts

How to total the visible cells?
From the first blank cell below a filtered data set, press Alt+=. Instead of SUM, you will get SUBTOTAL(9,)
Assuming you are using Google Sheets, you'd need:

=arrayformula(unique(proper(range)))

to get all the results
 
Upvote 0
Thank you so much, that has solved it!

But, unintended side effect, I'm getting an extra line of blank data.

So next to the unique list, I had a =if(isblank.....) for the numbers, ie, find "bread" then beside "bread" show "x 6" find nothing? Then show nothing. Worked perfectly, but now having added the array I'm getting an extra row of:
" x 0 £0.00"
Its not the end of the world, but a bit annoying. Any ideas?

G
 
Upvote 0
I'd guess something like:

=arrayformula(unique(proper(FILTER(range,range<>""))))
 
Upvote 0
Solution

Forum statistics

Threads
1,224,820
Messages
6,181,160
Members
453,021
Latest member
Justyna P

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