Share via

Cell E52 pulls data from another workbook and normally has a number higher than Zero but if the cell is zero i would like it to display 65 in cell K52 unfortunately it is returning 065.

Anonymous
2024-07-31T12:17:32+00:00
E F G H I J K H
52 =('W:\Pub-Common\Foaming and Paint Line[Customer Requirements.xlsb.xlsx]Foaming'!E52) 0 0 0 0 0 =MAX(E52:I52)&IF(K52=0,65)
Microsoft 365 and Office | Excel | For business | 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

3 answers

Sort by: Most helpful
  1. Anonymous
    2024-07-31T12:56:47+00:00

    =IF(MAX(E52:I52)=0,65,MAX(E52:I52))

    Was this answer helpful?

    0 comments No comments
  2. Anonymous
    2024-07-31T12:41:15+00:00

    No it comes back with #NAME?

    Was this answer helpful?

    0 comments No comments
  3. HansV 462.6K Reputation points
    2024-07-31T12:29:40+00:00

    That formula causes a circular reference. Does this do what you want?

    =LET(m, MAX(E52:I52), IF(m=0, 65, m))

    Was this answer helpful?

    0 comments No comments