RSS Feed

Syndicate content

Ho bisogno di piu' di 7 (circa 20) nidificazione nel comando "SE". Es.:=SE(A4="CA";"1")+SE(A4="RP";"0,90")+SE(A4="DS";"0,80")+etc... Come posso fare ?

Submitted by aterzaghi on Tue, 11/11/2008 - 23:31

In questi casi l'utilizzo di molti SE è molto scomodo e puo' facilmente generare errori.

E' meglio utilizzare un'altra tecncia e sfruttare il CERCA.VERT. Per maggiori informazioni potete vedere la sezione dedicata

Si fa in questo modo: si crea una tabella a due colonne e a molte righe. Ogni riga contiene un'associazione tra un codice (CA, RP, etc) e il suo corrispondente valore numerico.
Nella cella di calcolo si sostituisce la concatenazione di SE con un semplice CERCA.VERT che ricerca all'interno della tabella creata il codice e restituisce il valore corrispondente.
In questo modo l'aggiunta di un nuovo codice e' immediato: basta aggiungere una riga ed estendere l'area di ricerca del CERCA.VERT.

Nel file allegato un esempio.
Se volete sapere come gestire le situazioni in cui il codice non è presente in tabella, leggete l'articolo.

AttachmentSize
vlookup_x_multipli_se.zip5.64 KB

Post new comment

The content of this field is kept private and will not be shown publicly.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <img> <style> <center> <p>
  • Lines and paragraphs break automatically.

More information about formatting options

CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.
Image CAPTCHA
Copy the characters (respecting upper/lower case) from the image.

Custom Search