Reference Cell question

azamu

New Member
Joined
Apr 20, 2018
Messages
3
Hello everyone,

in A1 I have the date and in B1 I have =A1 with a custom format "dddd" to show the day of the date. if I use a formula that reference B1 I get a zero result, but if I manually type in the day in B1 I get a result. How can I use the formula to use the value of B1 as reference?

Thanks,
 

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.
Sounds like you need the formula in B1 to be =DAY(A1).

edit: Sorry, that was for the number. To get text use =TEXT(A1,"dddd")
 
Last edited:
Upvote 0
Hi,

In line with Scott, or the formula you're using to reference B1, DAY(B1)
 
Upvote 0
Hello thanks for the quick response.

This is kind of what I have. I tried using the Day(B1) but still got no result. In Column B8 the formula is =SumIF(A2:A4,A8,D2:d4) I also switched out the A8 to "Sunday" and still no result. but If I type in Sunday in A2 then I get 25

ABDEF
1RESCOMRO
2Sunday4/1/2018253020
3Monday4/2/2018266040
4Tuesday4/3/2018279060
5
7
8Sunday0
9Monday0
10Tuesday0
11Wednesday0
12Thursday0
13Friday0
15Saturday0

<tbody>
</tbody><colgroup><col><col><col><col span="3"></colgroup>
 
Upvote 0

Forum statistics

Threads
1,214,913
Messages
6,122,207
Members
449,074
Latest member
cancansova

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