Excel - Älä näytä nollaa, jos tulos on nolla

Ongelma

En osaa selvittää, miten saan Excelin sijoittamaan sen solun toiseen soluun, jos solussa on tyhjä. Esimerkiksi on olemassa soluja, joista haluan kopioida työkirjan muihin arkkeihin. Joskus solut jätetään tyhjiksi. Tässä tapauksessa en halua Excelin asettavan "0" muiden arkkien soluihin. Jos solu on tyhjä, haluan myös tyhjän muille arkkeille. Ei nolla, koska isäntäsolussa ei ole nollaa.

Ratkaisu

Voit käyttää if-kaavaa.

  • =IF(A1="", "", Sheet2!A1) Paste this formula in Sheet2 A1 or where you need it. This will give the result of A1 if there are something in it. The "", "" stands for (something) 
  • =IF(A1="", "", Sheet2!A1) Paste this formula in Sheet2 A1 or where you need it. This will give the result of A1 if there are something in it. The "", "" stands for (something)
  • =IF(A1="", "", Sheet2!A1) Paste this formula in Sheet2 A1 or where you need it. This will give the result of A1 if there are something in it. The "", "" stands for (something)

Kiitos Stormdronkille tästä vinkistä.

Edellinen Artikkeli Seuraava Artikkeli

Top Vinkkejä