how to read value from a concatinated cell

stuart_robets

New Member
Joined
Oct 29, 2016
Messages
3
Hi

Once I concatenate two dates into one in a cell, how do I then use that cell in a range in a function such as SUMIF, every time I concatenate, the value of the SUMIF function becomes zero, I'm assume its becuase it sees the formulea and not the value, i've tried to format the cell, but it doesnt work, is there another way?
 

Excel Facts

Format cells as date
Select range and press Ctrl+Shift+3 to format cells as date. (Shift 3 is the # sign which sort of looks like a small calendar).
could you post a sample data, reflecting how your data actually looks like?
 
Upvote 0
day | date | value | description

5 | 05/02/2018 | £300 | HSBC


Todays date 04/02/2018
next pay day


bills to next pay day



above is a sample from the data base, what i am trying to achieve is auto complete the bills to next pay day, based on two dates, 1. todays date and 2. next pay day

i am trying to use a SUMIFS function =SUMIFS(Table1[[Value ]],Table1[Date],">"&I2,Table1[Date],"<"&I3)

against the table

however i am trying to auto complete the date box based on todays date, so the day value will be the same, as that is the day the bill is paid, but the month and year changes, based on the current month.

so i was using this

=CONCATENATE(TEXT(A2,"dd")&"/"&TEXT($J$2, "mm/yyyy"))

first of all i copied the "todays date into another field and removed the day, then used the function above to auto fill the dates in the table, however when i do this the value of "bills to next pay day" is zero, but when i manually add the dates in the table, it works. so is there an alternative way of filling the date box, or am i using the concatenate wrong?


thanks
 
Upvote 0

Forum statistics

Threads
1,223,911
Messages
6,175,324
Members
452,635
Latest member
laura12345

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