Share via

formula equation problem

Anonymous
2021-07-06T20:31:02+00:00

Hello! I'm having problems with the formulas as it is not working and not showing the value after entering the correct equation. I'm putting the right equation but I'm still getting a red dotted lines around the box cell or sometimes it is just showing the equation I have typed without any result.

Hope to get a reply as soon as possible. Thank you!

Microsoft 365 and Office | Excel | For home | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

Answer accepted by question author

Anonymous
2021-07-07T00:38:26+00:00

There is nothing wrong with your formula. As for the red dotted line around the cell, I'm haven't seen that before. As for the cell displaying the formula - that suggests the cell with the formula is formatted as text. In that case you should reformat the cell to something like number and then reenter the formula.

Was this answer helpful?

0 comments No comments

Answer accepted by question author

Anonymous
2021-07-06T21:43:18+00:00

Sorry, I wasn't able to recreate your problem. I was able to get both forms of the formula to work, both subtracting 1 after weekday() conversion, or as I suggested below, as part of the function.

the weekday function returns a number for the day of week

For example using 2021-01-01 returns number 6.

If you want to get the previous day, subtract the number from the date before using the function

=weekday(a1-1,1)

One thing I noticed is that both online and desktop version tended to convert the number to date format, outputing junk. After the first calculation I had to convert the cell back from date format to general or integer.

Was this answer helpful?

0 comments No comments

3 additional answers

Sort by: Most helpful
  1. Anonymous
    2021-07-06T20:40:05+00:00

    It's in excel online. Formula or equation like this one =weekday(B3,1) - I have typed this in excel and then the box cell had red dotted lines around it and sometimes when I type a formula nothing changes at all, all I see is the formula on the cell.

    Was this answer helpful?

    1 person found this answer helpful.
    0 comments No comments
  2. Anonymous
    2021-07-09T06:33:39+00:00

    Hi Simarjit,

    Did you refer to above replies?

    Best regards,

    Jazlyn

    Was this answer helpful?

    0 comments No comments
  3. Anonymous
    2021-07-06T20:34:07+00:00

    What application? Excel? Word?

    .

    What formula / equation?

    What is the expected result

    Was this answer helpful?

    0 comments No comments