If then to change cell value?
It has been a while since I used a spreadsheet much, so I may have just missed something basic.
Ok, so I have cells g9 and g11 that both depend on cell c25. When g9>g11 I want to c25=c25+1. How do I make this happen?
Thanks in advance
Lazlow
The initial number was manually entered. This is for building a wind turbine. G9 is the watts in the wind at a given wind speed. G11 is the watts the generator will produce at that same wind speed. If the generator is producing more watts than is in the wind, it means it has stalled. If you raise the voltage(c26) the wattage of the generator drops, repeat until stall is over. So the battery voltage (or MPPT voltage) changes for every wind speed.
So they both depend on wind speed and diameter of turbine. I guess I could build a table of voltages (40-250), calculate for each, and then compare g9 to each. That seems pretty messy though.
Thanks
=VLOOKUP ( G9,A1:B9,2,1 )
You could put “=IF(G11>G12,1,0)” into C25, but that would only give 0 or 1.
Or possibly “=C24 + IF(G11>G12,1,0)”, if C24 was a previous count result.