Forum Discussion
mj786
Oct 26, 2025Copper Contributor
Excel conditional formula
Hi i have a problem understanding this I want to color highlight numbers from row 2 that is row 1 + 5 I mean if any number from row 2 + 5 equal to any number in row 1 to be formatted and fill...
Lorenzo
Oct 31, 2025Silver Contributor
Correct (bad copy/paste I'm gonna fix...):
[1, "wxyz", true, 3].map((x: number) => x + 5) // => [6, "wxyz5", 6, 8]Good to know. As a newby I will avoid though:
const abc: number = "abc" // type string is not assignable to type number
console.log(abc + 2, ~~abc + 2) // => abc2, 2Thanks for the Stack Overflow link