Quantcast
Channel: Hot Weekly Questions - Web Applications Stack Exchange
Viewing all articles
Browse latest Browse all 9782

Two Different Answers for the Same Simple Formula in Google Sheets

$
0
0

I have a spreadsheet with a very simple formula: =C4/D4Sometimes, this very simple formula gives the wrong value.Same Formula, Two Answers

  • Cell C4 contains the value 390062 formatted as a number with thousands separator

  • Cell D4 contains a formula which evaluates to the value 444434 formatted as a number with thousands separator.

    • This is a =VLOOKUP() formula and the displayed value is correct.
  • Cell G4 contain the formula =C4/D4 which is displayed as 28%

    • This is INCORRECT! The correct value is 88%
  • If I add the same formula in Cell J4 I get the correct value.

  • Result for =VALUE(G4) is 0.28

  • Result for =VALUE(J4) is 0.88

Furthermore;

  • If I change the formatting on cell G4, it updates to the correct value.

EDIT: I might have figured this out; cell C4 is part of a Pivot Table. Is that why it's not calculating correctly?If so, does anyone have a solve for this?


Viewing all articles
Browse latest Browse all 9782

Trending Articles